pub struct TextMacroDefinition {
pub nodes: (Symbol, Keyword, TextMacroName, Option<MacroText>),
}
Fields§
§nodes: (Symbol, Keyword, TextMacroName, Option<MacroText>)
Trait Implementations§
source§impl Clone for TextMacroDefinition
impl Clone for TextMacroDefinition
source§fn clone(&self) -> TextMacroDefinition
fn clone(&self) -> TextMacroDefinition
Returns a copy of the value. Read more
1.0.0 · 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 TextMacroDefinition
impl Debug for TextMacroDefinition
source§impl<'a> From<&'a TextMacroDefinition> for RefNode<'a>
impl<'a> From<&'a TextMacroDefinition> for RefNode<'a>
source§fn from(x: &'a TextMacroDefinition) -> Self
fn from(x: &'a TextMacroDefinition) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a TextMacroDefinition> for RefNodes<'a>
impl<'a> From<&'a TextMacroDefinition> for RefNodes<'a>
source§fn from(x: &'a TextMacroDefinition) -> Self
fn from(x: &'a TextMacroDefinition) -> Self
Converts to this type from the input type.
source§impl From<TextMacroDefinition> for AnyNode
impl From<TextMacroDefinition> for AnyNode
source§fn from(x: TextMacroDefinition) -> Self
fn from(x: TextMacroDefinition) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a TextMacroDefinition
impl<'a> IntoIterator for &'a TextMacroDefinition
source§impl PartialEq for TextMacroDefinition
impl PartialEq for TextMacroDefinition
source§fn eq(&self, other: &TextMacroDefinition) -> bool
fn eq(&self, other: &TextMacroDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a TextMacroDefinition> for Locate
impl<'a> TryFrom<&'a TextMacroDefinition> for Locate
source§impl TryFrom<AnyNode> for TextMacroDefinition
impl TryFrom<AnyNode> for TextMacroDefinition
source§impl TryFrom<TextMacroDefinition> for Locate
impl TryFrom<TextMacroDefinition> for Locate
impl StructuralPartialEq for TextMacroDefinition
Auto Trait Implementations§
impl RefUnwindSafe for TextMacroDefinition
impl Send for TextMacroDefinition
impl Sync for TextMacroDefinition
impl Unpin for TextMacroDefinition
impl UnwindSafe for TextMacroDefinition
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