pub struct SpecialsNode {
pub span: Span,
pub chars: String,
}Expand description
A literal token pylatexenc tokenizes as its own node rather than
plain characters or a macro: ~, &, --, ---, , `''`, ! ``, `` ? ``. Takes no arguments in the default database.
Fields§
§span: Span§chars: StringTrait Implementations§
Source§impl Clone for SpecialsNode
impl Clone for SpecialsNode
Source§fn clone(&self) -> SpecialsNode
fn clone(&self) -> SpecialsNode
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 moreAuto Trait Implementations§
impl Freeze for SpecialsNode
impl RefUnwindSafe for SpecialsNode
impl Send for SpecialsNode
impl Sync for SpecialsNode
impl Unpin for SpecialsNode
impl UnsafeUnpin for SpecialsNode
impl UnwindSafe for SpecialsNode
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