pub enum Arg<S: AsRef<str>> {
String(S),
Ident(S),
Int32(i32),
Int64(i64),
Float(f32),
Double(f64),
Bool(bool),
Char(char),
}
Variants§
Trait Implementations§
impl<S: Copy + AsRef<str>> Copy for Arg<S>
Auto Trait Implementations§
impl<S> Freeze for Arg<S>where
S: Freeze,
impl<S> RefUnwindSafe for Arg<S>where
S: RefUnwindSafe,
impl<S> Send for Arg<S>where
S: Send,
impl<S> Sync for Arg<S>where
S: Sync,
impl<S> Unpin for Arg<S>where
S: Unpin,
impl<S> UnwindSafe for Arg<S>where
S: UnwindSafe,
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