pub trait IsNewline {
// Required method
fn is_newline(&self) -> bool;
}
Expand description
Trait providing the is_newline
method
Required Methods§
Sourcefn is_newline(&self) -> bool
fn is_newline(&self) -> bool
Returns true if it is a newline grapheme
Implementations on Foreign Types§
Source§impl IsNewline for str
impl IsNewline for str
Source§fn is_newline(&self) -> bool
fn is_newline(&self) -> bool
Implemente the is_newline
method for str