pub struct MacroDefinition {
pub name: String,
pub replacement: Vec<u8>,
}Expand description
Macro definition captured in a cached format.
Fields§
§name: StringControl sequence name without leading backslash.
replacement: Vec<u8>Replacement text or opaque translated representation.
Trait Implementations§
Source§impl Clone for MacroDefinition
impl Clone for MacroDefinition
Source§fn clone(&self) -> MacroDefinition
fn clone(&self) -> MacroDefinition
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 MacroDefinition
impl Debug for MacroDefinition
impl Eq for MacroDefinition
Source§impl PartialEq for MacroDefinition
impl PartialEq for MacroDefinition
Source§fn eq(&self, other: &MacroDefinition) -> bool
fn eq(&self, other: &MacroDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MacroDefinition
Auto Trait Implementations§
impl Freeze for MacroDefinition
impl RefUnwindSafe for MacroDefinition
impl Send for MacroDefinition
impl Sync for MacroDefinition
impl Unpin for MacroDefinition
impl UnsafeUnpin for MacroDefinition
impl UnwindSafe for MacroDefinition
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