pub enum Token {
Word(String),
Path(String),
Format(String),
Number(f64),
Unknown(String),
}Expand description
Token types for the FF CLI tool.
Variants§
Word(String)
A regular word token
Path(String)
A file path token
Format(String)
A format token (e.g., .mp4, .avi)
Number(f64)
A numeric value
Unknown(String)
An unknown token type
Trait Implementations§
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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