[][src]Enum libhandy4::CenteringPolicy

#[non_exhaustive]pub enum CenteringPolicy {
    Loose,
    Strict,
    // some variants omitted
}

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

Keep the title centered when possible

Strict

Keep the title centered at all cost

Trait Implementations

impl Clone for CenteringPolicy[src]

impl Copy for CenteringPolicy[src]

impl Debug for CenteringPolicy[src]

impl Display for CenteringPolicy[src]

impl Eq for CenteringPolicy[src]

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

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

impl Hash for CenteringPolicy[src]

impl Ord for CenteringPolicy[src]

impl PartialEq<CenteringPolicy> for CenteringPolicy[src]

impl PartialOrd<CenteringPolicy> for CenteringPolicy[src]

impl SetValue for CenteringPolicy[src]

impl StaticType for CenteringPolicy[src]

impl StructuralEq for CenteringPolicy[src]

impl StructuralPartialEq for CenteringPolicy[src]

Auto Trait Implementations

impl RefUnwindSafe for CenteringPolicy[src]

impl Send for CenteringPolicy[src]

impl Sync for CenteringPolicy[src]

impl Unpin for CenteringPolicy[src]

impl UnwindSafe for CenteringPolicy[src]

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.