pub enum CustomArg {
Bool(bool),
UInt(String),
Path(Path),
}
Expand description
A custom argument
Variants§
Bool(bool)
A boolean: true
or false
UInt(String)
An unsuffixed, unsigned integer
Path(Path)
An item path
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CustomArg
impl RefUnwindSafe for CustomArg
impl !Send for CustomArg
impl !Sync for CustomArg
impl Unpin for CustomArg
impl UnwindSafe for CustomArg
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