Enum sourceview5::SmartHomeEndType[][src]

#[non_exhaustive]pub enum SmartHomeEndType {
    Disabled,
    Before,
    After,
    Always,
    // 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.
Disabled

smart-home-end disabled.

Before

move to the first/last non-whitespace character on the first press of the HOME/END keys and to the beginning/end of the line on the second press.

After

move to the beginning/end of the line on the first press of the HOME/END keys and to the first/last non-whitespace character on the second press.

Always

always move to the first/last non-whitespace character when the HOME/END keys are pressed.

Trait Implementations

impl Clone for SmartHomeEndType[src]

impl Copy for SmartHomeEndType[src]

impl Debug for SmartHomeEndType[src]

impl Display for SmartHomeEndType[src]

impl Eq for SmartHomeEndType[src]

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

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

impl Hash for SmartHomeEndType[src]

impl Ord for SmartHomeEndType[src]

impl PartialEq<SmartHomeEndType> for SmartHomeEndType[src]

impl PartialOrd<SmartHomeEndType> for SmartHomeEndType[src]

impl SetValue for SmartHomeEndType[src]

impl StaticType for SmartHomeEndType[src]

impl StructuralEq for SmartHomeEndType[src]

impl StructuralPartialEq for SmartHomeEndType[src]

Auto Trait Implementations

impl RefUnwindSafe for SmartHomeEndType

impl Send for SmartHomeEndType

impl Sync for SmartHomeEndType

impl Unpin for SmartHomeEndType

impl UnwindSafe for SmartHomeEndType

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