pub struct EnumDef {
pub ns: &'static str,
pub local: &'static str,
pub comment: &'static str,
pub values: &'static [EnumValueDef],
}Expand description
An enumeration of the schema and the values it allows.
Fields§
§ns: &'static str§local: &'static str§comment: &'static strThe vocabulary’s rdfs:comment, as for ClassDef::comment.
values: &'static [EnumValueDef]In vocabulary order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumDef
impl RefUnwindSafe for EnumDef
impl Send for EnumDef
impl Sync for EnumDef
impl Unpin for EnumDef
impl UnsafeUnpin for EnumDef
impl UnwindSafe for EnumDef
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