[][src]Enum atk::TextClipType

#[non_exhaustive]pub enum TextClipType {
    None,
    Min,
    Max,
    Both,
    // some variants omitted
}

Describes the type of clipping required.

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.
None

No clipping to be done

Min

Text clipped by min coordinate is omitted

Max

Text clipped by max coordinate is omitted

Both

Only text fully within mix/max bound is retained

Trait Implementations

impl Clone for TextClipType[src]

impl Copy for TextClipType[src]

impl Debug for TextClipType[src]

impl Display for TextClipType[src]

impl Eq for TextClipType[src]

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

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

impl Hash for TextClipType[src]

impl Ord for TextClipType[src]

impl PartialEq<TextClipType> for TextClipType[src]

impl PartialOrd<TextClipType> for TextClipType[src]

impl SetValue for TextClipType[src]

impl StaticType for TextClipType[src]

impl StructuralEq for TextClipType[src]

impl StructuralPartialEq for TextClipType[src]

Auto Trait Implementations

impl RefUnwindSafe for TextClipType

impl Send for TextClipType

impl Sync for TextClipType

impl Unpin for TextClipType

impl UnwindSafe for TextClipType

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.