Enum swash::text::cluster::Whitespace [−][src]
#[repr(u8)] pub enum Whitespace { None, Space, NoBreakSpace, Tab, Newline, Other, }
Whitespace content of a cluster.
Variants
Not a space.
Standard space.
Non-breaking space (U+00A0).
Horizontal tab.
Newline (CR, LF, or CRLF).
Other space.
Implementations
impl Whitespace
[src]
impl Whitespace
[src]pub fn is_space_or_nbsp(self) -> bool
[src]
Returns true for space or no break space.
Trait Implementations
impl Clone for Whitespace
[src]
impl Clone for Whitespace
[src]fn clone(&self) -> Whitespace
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Whitespace
[src]
impl Copy for Whitespace
[src]impl Eq for Whitespace
[src]
impl Eq for Whitespace
[src]impl Ord for Whitespace
[src]
impl Ord for Whitespace
[src]impl PartialEq<Whitespace> for Whitespace
[src]
impl PartialEq<Whitespace> for Whitespace
[src]impl PartialOrd<Whitespace> for Whitespace
[src]
impl PartialOrd<Whitespace> for Whitespace
[src]impl StructuralEq for Whitespace
[src]
impl StructuralEq for Whitespace
[src]impl StructuralPartialEq for Whitespace
[src]
impl StructuralPartialEq for Whitespace
[src]Auto Trait Implementations
impl RefUnwindSafe for Whitespace
impl RefUnwindSafe for Whitespace
impl Send for Whitespace
impl Send for Whitespace
impl Sync for Whitespace
impl Sync for Whitespace
impl Unpin for Whitespace
impl Unpin for Whitespace
impl UnwindSafe for Whitespace
impl UnwindSafe for Whitespace