pub struct ClassDef {
pub ns: &'static str,
pub local: &'static str,
pub qualified: &'static str,
pub super_class: Option<usize>,
pub concrete: bool,
pub attrs: &'static [AttrDef],
pub origins: &'static [&'static str],
pub comment: &'static str,
}Expand description
A class of the schema: what it is called and what it declares.
Fields§
§ns: &'static str§local: &'static str§qualified: &'static strFamily-qualified name; the CimDataset::by_type key.
super_class: Option<usize>Index of the super class within the same table.
concrete: bool§attrs: &'static [AttrDef]The attributes this class declares itself, unused association ends
included (AttrDef::used); see TypeRegistry::attr for inherited
ones.
origins: &'static [&'static str]§comment: &'static strThe vocabulary’s rdfs:comment, HTML removed and on one line; ""
if it has none.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClassDef
impl RefUnwindSafe for ClassDef
impl Send for ClassDef
impl Sync for ClassDef
impl Unpin for ClassDef
impl UnsafeUnpin for ClassDef
impl UnwindSafe for ClassDef
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