Enum whitespacesv::OwnedWSVToken
source · pub enum OwnedWSVToken {
LF,
Null,
Value(String),
Comment(String),
}
Expand description
A collection of all token types in a WSV file.
Variants§
LF
Represents a line feed character (ex. ‘\n’)
Null
Represents a null value in the input (ex. ‘-’)
Value(String)
Represents a non-null value in the input (ex. ‘value’)
Comment(String)
Represents a comment (ex. ‘# comment’)
Auto Trait Implementations§
impl Freeze for OwnedWSVToken
impl RefUnwindSafe for OwnedWSVToken
impl Send for OwnedWSVToken
impl Sync for OwnedWSVToken
impl Unpin for OwnedWSVToken
impl UnwindSafe for OwnedWSVToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more