Expand description
An argument in a function type: the usize
in fn(usize) -> bool
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Fields
attrs: Vec<Attribute>
name: Option<(Ident, Colon)>
ty: Type
Auto Trait Implementations
impl RefUnwindSafe for BareFnArg
impl !Send for BareFnArg
impl !Sync for BareFnArg
impl Unpin for BareFnArg
impl UnwindSafe for BareFnArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more