pub struct IndividualDef {
pub identification: Identification,
pub specializes: Option<String>,
pub specializes_span: Option<Span>,
pub body: AttributeBody,
}Expand description
Individual definition: individual def Identification :> type body.
Fields§
§identification: Identification§specializes: Option<String>§specializes_span: Option<Span>§body: AttributeBodyTrait Implementations§
Source§impl Clone for IndividualDef
impl Clone for IndividualDef
Source§fn clone(&self) -> IndividualDef
fn clone(&self) -> IndividualDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndividualDef
impl Debug for IndividualDef
impl Eq for IndividualDef
Source§impl PartialEq for IndividualDef
impl PartialEq for IndividualDef
Source§fn eq(&self, other: &IndividualDef) -> bool
fn eq(&self, other: &IndividualDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndividualDef
Auto Trait Implementations§
impl Freeze for IndividualDef
impl RefUnwindSafe for IndividualDef
impl Send for IndividualDef
impl Sync for IndividualDef
impl Unpin for IndividualDef
impl UnsafeUnpin for IndividualDef
impl UnwindSafe for IndividualDef
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