pub struct CLIexpression<'a> {
pub inner: &'a str,
pub length: usize,
pub expression: Vec<&'a str>,
}Expand description
The CLI expression which needs to be parsed.
Fields§
§inner: &'a str§length: usize§expression: Vec<&'a str>Implementations§
Source§impl<'a> CLIexpression<'a>
impl<'a> CLIexpression<'a>
Sourcepub fn new(string: &'a str) -> Self
pub fn new(string: &'a str) -> Self
Constructor for CLIexpression.
Auto Trait Implementations§
impl<'a> Freeze for CLIexpression<'a>
impl<'a> RefUnwindSafe for CLIexpression<'a>
impl<'a> Send for CLIexpression<'a>
impl<'a> Sync for CLIexpression<'a>
impl<'a> Unpin for CLIexpression<'a>
impl<'a> UnwindSafe for CLIexpression<'a>
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