[][src]Enum gtk::TextViewLayer

#[non_exhaustive]pub enum TextViewLayer {
    // 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.

Old deprecated layer, use TextViewLayer::BelowText instead


Old deprecated layer, use TextViewLayer::AboveText instead


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


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

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

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.