[][src]Enum libyaml::LineBreak

#[repr(u8)]
pub enum LineBreak {
    Cr,
    Ln,
    CrLn,
}

Line break encoding.

Variants

Cr

CR character (classic Mac).

Ln

LN character (UNIX).

CrLn

CR LN characters (DOS).

Methods

impl LineBreak[src]

pub fn into_raw(self) -> yaml_break_t[src]

Return the raw yaml_break_t.

pub fn option_into_raw(value: Option<Self>) -> yaml_break_t[src]

Return the raw yaml_break_t where None becomes YAML_ANY_BREAK.

Trait Implementations

impl Clone for LineBreak[src]

impl Copy for LineBreak[src]

impl Eq for LineBreak[src]

impl Ord for LineBreak[src]

impl PartialEq<LineBreak> for LineBreak[src]

impl PartialOrd<LineBreak> for LineBreak[src]

impl Debug for LineBreak[src]

impl Hash for LineBreak[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]