Struct syn_helpers::Argument
source · pub struct Argument<T>(pub String, pub T);
Expand description
A argument with a name and a value. ‘=’ separated, e.g. name=AST
Tuple Fields§
§0: String
§1: T
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Argument<T>where
T: RefUnwindSafe,
impl<T> Send for Argument<T>where
T: Send,
impl<T> Sync for Argument<T>where
T: Sync,
impl<T> Unpin for Argument<T>where
T: Unpin,
impl<T> UnwindSafe for Argument<T>where
T: 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