pub struct BareFn {
pub generic_params: Vec<GenericParam>,
pub inputs: Vec<Param>,
pub output: Box<Type>,
}Fields§
§generic_params: Vec<GenericParam>§inputs: Vec<Param>§output: Box<Type>Trait Implementations§
source§impl From<BareFn> for TokenStream
impl From<BareFn> for TokenStream
source§impl PartialEq for BareFn
impl PartialEq for BareFn
impl Eq for BareFn
impl StructuralEq for BareFn
impl StructuralPartialEq for BareFn
Auto Trait Implementations§
impl RefUnwindSafe for BareFn
impl Send for BareFn
impl Sync for BareFn
impl Unpin for BareFn
impl UnwindSafe for BareFn
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