pub struct BareFnArg {
pub attrs: Vec<Attribute>,
pub name: Option<(Ident, Colon)>,
pub ty: Type,
}Expand description
An argument in a function type: the usize in fn(usize) -> bool.
Fields§
§attrs: Vec<Attribute>§name: Option<(Ident, Colon)>§ty: TypeAuto Trait Implementations§
impl Freeze for BareFnArg
impl RefUnwindSafe for BareFnArg
impl !Send for BareFnArg
impl !Sync for BareFnArg
impl Unpin for BareFnArg
impl UnwindSafe for BareFnArg
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