pub struct UnitDefinition {
pub id: Option<String>,
pub list_of_units: Option<TagIndex>,
pub parent: Option<TagIndex>,
}
Fields§
§id: Option<String>
§list_of_units: Option<TagIndex>
§parent: Option<TagIndex>
Trait Implementations§
Source§impl Clone for UnitDefinition
impl Clone for UnitDefinition
Source§fn clone(&self) -> UnitDefinition
fn clone(&self) -> UnitDefinition
Returns a duplicate of the value. Read more
1.0.0 · 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 UnitDefinition
impl Debug for UnitDefinition
Source§impl Default for UnitDefinition
impl Default for UnitDefinition
Source§fn default() -> UnitDefinition
fn default() -> UnitDefinition
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnitDefinition
impl RefUnwindSafe for UnitDefinition
impl Send for UnitDefinition
impl Sync for UnitDefinition
impl Unpin for UnitDefinition
impl UnwindSafe for UnitDefinition
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