pub struct Opclass {
pub name: Cow<'static, str>,
pub default: bool,
}Expand description
Runtime operator class entity
Fields§
§name: Cow<'static, str>Operator class name
default: boolWhether this is the default operator class
Implementations§
Trait Implementations§
Source§impl From<OpclassDef> for Opclass
impl From<OpclassDef> for Opclass
Source§fn from(def: OpclassDef) -> Self
fn from(def: OpclassDef) -> Self
Converts to this type from the input type.
impl Eq for Opclass
impl StructuralPartialEq for Opclass
Auto Trait Implementations§
impl Freeze for Opclass
impl RefUnwindSafe for Opclass
impl Send for Opclass
impl Sync for Opclass
impl Unpin for Opclass
impl UnwindSafe for Opclass
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