pub struct OccurrenceDef {
pub is_abstract: bool,
pub identification: Identification,
pub specializes: Option<String>,
pub specializes_span: Option<Span>,
pub body: DefinitionBody,
}Expand description
Occurrence definition: occurrence def Identification body (BNF OccurrenceDefinition).
Fields§
§is_abstract: bool§identification: Identification§specializes: Option<String>§specializes_span: Option<Span>§body: DefinitionBodyTrait Implementations§
Source§impl Clone for OccurrenceDef
impl Clone for OccurrenceDef
Source§fn clone(&self) -> OccurrenceDef
fn clone(&self) -> OccurrenceDef
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 OccurrenceDef
impl Debug for OccurrenceDef
impl Eq for OccurrenceDef
Source§impl PartialEq for OccurrenceDef
impl PartialEq for OccurrenceDef
Source§fn eq(&self, other: &OccurrenceDef) -> bool
fn eq(&self, other: &OccurrenceDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OccurrenceDef
Auto Trait Implementations§
impl Freeze for OccurrenceDef
impl RefUnwindSafe for OccurrenceDef
impl Send for OccurrenceDef
impl Sync for OccurrenceDef
impl Unpin for OccurrenceDef
impl UnsafeUnpin for OccurrenceDef
impl UnwindSafe for OccurrenceDef
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