pub struct SpecArg {
pub attrs: Vec<Attribute>,
pub keyword: Keyword,
pub keyword_span: Span,
pub colon: Colon,
pub value: SpecArgValue,
}Expand description
A single spec argument.
Fields§
§attrs: Vec<Attribute>§keyword: Keyword§keyword_span: Span§colon: Colon§value: SpecArgValueTrait Implementations§
Auto Trait Implementations§
impl Freeze for SpecArg
impl RefUnwindSafe for SpecArg
impl !Send for SpecArg
impl !Sync for SpecArg
impl Unpin for SpecArg
impl UnsafeUnpin for SpecArg
impl UnwindSafe for SpecArg
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