Trait IsNewline

Source
pub trait IsNewline {
    // Required method
    fn is_newline(&self) -> bool;
}
Expand description

Trait providing the is_newline method

Required Methods§

Source

fn is_newline(&self) -> bool

Returns true if it is a newline grapheme

Implementations on Foreign Types§

Source§

impl IsNewline for str

Source§

fn is_newline(&self) -> bool

Implemente the is_newline method for str

Implementors§