[][src]Enum gtk::TextViewLayer

#[non_exhaustive]pub enum TextViewLayer {
    Below,
    Above,
    BelowText,
    AboveText,
    // some variants omitted
}

Used to reference the layers of TextView for the purpose of customized drawing with the ::draw_layer vfunc.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Below

Old deprecated layer, use TextViewLayer::BelowText instead

Above

Old deprecated layer, use TextViewLayer::AboveText instead

BelowText

The layer rendered below the text (but above the background). Since: 3.20

AboveText

The layer rendered above the text. Since: 3.20

Trait Implementations

impl Clone for TextViewLayer[src]

impl Copy for TextViewLayer[src]

impl Debug for TextViewLayer[src]

impl Display for TextViewLayer[src]

impl Eq for TextViewLayer[src]

impl<'a> FromValue<'a> for TextViewLayer[src]

impl<'a> FromValueOptional<'a> for TextViewLayer[src]

impl Hash for TextViewLayer[src]

impl Ord for TextViewLayer[src]

impl PartialEq<TextViewLayer> for TextViewLayer[src]

impl PartialOrd<TextViewLayer> for TextViewLayer[src]

impl SetValue for TextViewLayer[src]

impl StaticType for TextViewLayer[src]

impl StructuralEq for TextViewLayer[src]

impl StructuralPartialEq for TextViewLayer[src]

Auto Trait Implementations

impl RefUnwindSafe for TextViewLayer

impl Send for TextViewLayer

impl Sync for TextViewLayer

impl Unpin for TextViewLayer

impl UnwindSafe for TextViewLayer

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<T> From<T> for T[src]

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

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: ToValue + SetValue + Send + ?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.