pub struct BaseObject {
pub name: String,
pub description: Option<String>,
}Expand description
A base/primitive object in the category.
These become the ground types in the derived type system.
Fields§
§name: StringName of the base type
description: Option<String>Optional description
Trait Implementations§
Source§impl Clone for BaseObject
impl Clone for BaseObject
Source§fn clone(&self) -> BaseObject
fn clone(&self) -> BaseObject
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 BaseObject
impl Debug for BaseObject
Source§impl PartialEq for BaseObject
impl PartialEq for BaseObject
impl Eq for BaseObject
impl StructuralPartialEq for BaseObject
Auto Trait Implementations§
impl Freeze for BaseObject
impl RefUnwindSafe for BaseObject
impl Send for BaseObject
impl Sync for BaseObject
impl Unpin for BaseObject
impl UnwindSafe for BaseObject
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