pub struct Destructor {
pub doc: Doc,
pub name: Ident,
pub is_virtual: bool,
pub body: FunctionBody,
}Expand description
A destructor.
Fields§
§doc: DocDocumentation.
name: IdentThe class’s name.
is_virtual: boolvirtual.
body: FunctionBodyThe body, or the defaulted form.
Trait Implementations§
Source§impl Clone for Destructor
impl Clone for Destructor
Source§impl Debug for Destructor
impl Debug for Destructor
impl Eq for Destructor
Source§impl PartialEq for Destructor
impl PartialEq for Destructor
impl StructuralPartialEq for Destructor
Auto Trait Implementations§
impl Freeze for Destructor
impl RefUnwindSafe for Destructor
impl Send for Destructor
impl Sync for Destructor
impl Unpin for Destructor
impl UnsafeUnpin for Destructor
impl UnwindSafe for Destructor
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