pub struct ItemUsage {
pub name: String,
pub type_name: Option<String>,
pub multiplicity: Option<String>,
pub body: AttributeBody,
}Expand description
Item usage inside a part definition body: item name multiplicity? (: type)? body.
Fields§
§name: String§type_name: Option<String>§multiplicity: Option<String>§body: AttributeBodyTrait Implementations§
impl Eq for ItemUsage
impl StructuralPartialEq for ItemUsage
Auto Trait Implementations§
impl Freeze for ItemUsage
impl RefUnwindSafe for ItemUsage
impl Send for ItemUsage
impl Sync for ItemUsage
impl Unpin for ItemUsage
impl UnsafeUnpin for ItemUsage
impl UnwindSafe for ItemUsage
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