Struct sourceview5::Tag[][src]

pub struct Tag(_);

Implementations

impl Tag[src]

pub fn new(name: Option<&str>) -> Tag[src]

Creates a Tag. Configure the tag using object arguments, i.e. using glib::object::ObjectExt::set.

For usual cases, BufferExt::create_source_tag is more convenient to use.

name

tag name, or None.

Returns

a new Tag.

Trait Implementations

impl Clone for Tag[src]

impl Debug for Tag[src]

impl Display for Tag[src]

impl Eq for Tag[src]

impl Hash for Tag[src]

impl IsA<TextTag> for Tag[src]

impl Ord for Tag[src]

impl ParentClassIs for Tag[src]

type Parent = TextTag

impl<T: ObjectType> PartialEq<T> for Tag[src]

impl<T: ObjectType> PartialOrd<T> for Tag[src]

impl StaticType for Tag[src]

impl StructuralEq for Tag[src]

Auto Trait Implementations

impl RefUnwindSafe for Tag

impl !Send for Tag

impl !Sync for Tag

impl Unpin for Tag

impl UnwindSafe for Tag

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

impl<T> Cast for T where
    T: ObjectType, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType, 

impl<O> TextTagExt for O where
    O: IsA<TextTag>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.