pub struct ArgMap {
pub boolean: HashSet<String>,
}
Fields§
§boolean: HashSet<String>
Implementations§
Source§impl ArgMap
impl ArgMap
Sourcepub fn boolean<T>(self, key: T) -> Selfwhere
T: ToString,
pub fn boolean<T>(self, key: T) -> Selfwhere
T: ToString,
Set a key to be treated as a boolean argument, where an argument that follows a boolean argument will not be treated as the key’s value.
Auto Trait Implementations§
impl Freeze for ArgMap
impl RefUnwindSafe for ArgMap
impl Send for ArgMap
impl Sync for ArgMap
impl Unpin for ArgMap
impl UnwindSafe for ArgMap
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