pub struct PrimitiveSpec {
pub name: Cow<'static, str>,
pub opcode: PrimitiveOpcode,
pub kind: PrimitiveKind,
}Expand description
Primitive descriptor; behavior is in the engine core.
Fields§
§name: Cow<'static, str>Control sequence name without the leading backslash.
opcode: PrimitiveOpcodeOpcode used for dispatch in the translated engine.
kind: PrimitiveKindCoarse category of this primitive’s runtime behavior.
Trait Implementations§
Source§impl Clone for PrimitiveSpec
impl Clone for PrimitiveSpec
Source§fn clone(&self) -> PrimitiveSpec
fn clone(&self) -> PrimitiveSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrimitiveSpec
impl Debug for PrimitiveSpec
impl Eq for PrimitiveSpec
Source§impl PartialEq for PrimitiveSpec
impl PartialEq for PrimitiveSpec
Source§fn eq(&self, other: &PrimitiveSpec) -> bool
fn eq(&self, other: &PrimitiveSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrimitiveSpec
Auto Trait Implementations§
impl Freeze for PrimitiveSpec
impl RefUnwindSafe for PrimitiveSpec
impl Send for PrimitiveSpec
impl Sync for PrimitiveSpec
impl Unpin for PrimitiveSpec
impl UnsafeUnpin for PrimitiveSpec
impl UnwindSafe for PrimitiveSpec
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