pub struct FnDef<T> {
pub params: Vec<Param<T>>,
pub type_annotation: TypeAnnotation,
pub block: Block<T>,
pub position: Position,
pub info: T,
}Fields§
§params: Vec<Param<T>>§type_annotation: TypeAnnotation§block: Block<T>§position: Position§info: TImplementations§
Trait Implementations§
Source§impl<T: Ord> Ord for FnDef<T>
impl<T: Ord> Ord for FnDef<T>
Source§impl<T: PartialOrd> PartialOrd for FnDef<T>
impl<T: PartialOrd> PartialOrd for FnDef<T>
impl<T: Eq> Eq for FnDef<T>
impl<T> StructuralPartialEq for FnDef<T>
Auto Trait Implementations§
impl<T> Freeze for FnDef<T>where
T: Freeze,
impl<T> RefUnwindSafe for FnDef<T>where
T: RefUnwindSafe,
impl<T> Send for FnDef<T>where
T: Send,
impl<T> Sync for FnDef<T>where
T: Sync,
impl<T> Unpin for FnDef<T>where
T: Unpin,
impl<T> UnwindSafe for FnDef<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