pub struct Cute<S: State> { /* private fields */ }
Expand description
The main parser struct that holds options and their values.
§Type Parameters
S
- The state type that implements theState
trait
Implementations§
Source§impl<S: State> Cute<S>
impl<S: State> Cute<S>
pub fn has(&self, s: S) -> bool
pub fn pop_raw_value(&mut self, s: S) -> Result<String, Error>
pub fn raw_values(&self, s: S) -> Result<&[String], Error>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Cute<S>
impl<S> !RefUnwindSafe for Cute<S>
impl<S> !Send for Cute<S>
impl<S> !Sync for Cute<S>
impl<S> Unpin for Cute<S>where
S: Unpin,
impl<S> !UnwindSafe for Cute<S>
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