pub struct NeedsFormatDecl {
pub format: SmolStr,
pub date: Option<SmolStr>,
pub range: TextRange,
}Expand description
A \NeedsTeXFormat{format}[date] declaration.
Fields§
§format: SmolStr§date: Option<SmolStr>§range: TextRangeThe \NeedsTeXFormat control-word token range.
Trait Implementations§
Source§impl Clone for NeedsFormatDecl
impl Clone for NeedsFormatDecl
Source§fn clone(&self) -> NeedsFormatDecl
fn clone(&self) -> NeedsFormatDecl
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 NeedsFormatDecl
impl Debug for NeedsFormatDecl
impl Eq for NeedsFormatDecl
Source§impl PartialEq for NeedsFormatDecl
impl PartialEq for NeedsFormatDecl
impl StructuralPartialEq for NeedsFormatDecl
Auto Trait Implementations§
impl Freeze for NeedsFormatDecl
impl RefUnwindSafe for NeedsFormatDecl
impl Send for NeedsFormatDecl
impl Sync for NeedsFormatDecl
impl Unpin for NeedsFormatDecl
impl UnsafeUnpin for NeedsFormatDecl
impl UnwindSafe for NeedsFormatDecl
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