pub struct OccurrenceUsage {
pub is_individual: bool,
pub is_then: bool,
pub portion_kind: Option<String>,
pub name: String,
pub type_name: Option<String>,
pub subsets: Option<String>,
pub redefines: Option<String>,
pub body: OccurrenceUsageBody,
}Expand description
Occurrence usage: occurrence name (: type)? body, with optional individual/portion modifiers.
Fields§
§is_individual: bool§is_then: bool§portion_kind: Option<String>§name: String§type_name: Option<String>§subsets: Option<String>§redefines: Option<String>§body: OccurrenceUsageBodyTrait Implementations§
Source§impl Clone for OccurrenceUsage
impl Clone for OccurrenceUsage
Source§fn clone(&self) -> OccurrenceUsage
fn clone(&self) -> OccurrenceUsage
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 OccurrenceUsage
impl Debug for OccurrenceUsage
Source§impl PartialEq for OccurrenceUsage
impl PartialEq for OccurrenceUsage
Source§fn eq(&self, other: &OccurrenceUsage) -> bool
fn eq(&self, other: &OccurrenceUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OccurrenceUsage
impl StructuralPartialEq for OccurrenceUsage
Auto Trait Implementations§
impl Freeze for OccurrenceUsage
impl RefUnwindSafe for OccurrenceUsage
impl Send for OccurrenceUsage
impl Sync for OccurrenceUsage
impl Unpin for OccurrenceUsage
impl UnsafeUnpin for OccurrenceUsage
impl UnwindSafe for OccurrenceUsage
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