pub struct FnDecl(/* private fields */);
Trait Implementations§
Source§impl From<AbstFnDecl> for FnDecl
impl From<AbstFnDecl> for FnDecl
Source§fn from(value: AbstFnDecl) -> Self
fn from(value: AbstFnDecl) -> Self
Converts to this type from the input type.
Source§impl From<BodyFnDecl> for FnDecl
impl From<BodyFnDecl> for FnDecl
Source§fn from(value: BodyFnDecl) -> Self
fn from(value: BodyFnDecl) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for FnDecl
Auto Trait Implementations§
impl !Freeze for FnDecl
impl !RefUnwindSafe for FnDecl
impl Send for FnDecl
impl !Sync for FnDecl
impl Unpin for FnDecl
impl UnwindSafe for FnDecl
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