pub enum UnresolvedMarkers {
Display,
Text,
Script,
ScriptScript,
}Expand description
Markers inserted by \displaystyle, \textstyle, \scriptstyle and \scriptscriptstyle.
Only meaningful in unresolved mode, while the math list is open. When the list
is closed, these are removed and used to determine the font style at that point.
Variants§
Trait Implementations§
Source§impl Clone for UnresolvedMarkers
impl Clone for UnresolvedMarkers
Source§fn clone(&self) -> UnresolvedMarkers
fn clone(&self) -> UnresolvedMarkers
Returns a duplicate 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 UnresolvedMarkers
impl Debug for UnresolvedMarkers
Source§impl<ET: EngineTypes> NodeTrait<ET> for UnresolvedMarkers
impl<ET: EngineTypes> NodeTrait<ET> for UnresolvedMarkers
Source§fn display_fmt(&self, _indent: usize, f: &mut Formatter<'_>) -> Result
fn display_fmt(&self, _indent: usize, f: &mut Formatter<'_>) -> Result
Produces a human-readable string; since nodes are deeply nested, takes an
additional
indent value to indent the stringSource§fn display(&self) -> DisplayNode<'_, ET, Self>
fn display(&self) -> DisplayNode<'_, ET, Self>
Returns a helper struct that implements
Display and uses Self::display_fmt
to yield a human-readable string.Source§fn opaque(&self) -> bool
fn opaque(&self) -> bool
Whether this node is “opaque”; meaning: When considering a list of nodes (e.g. in
\unskip
or \lastbox, this node should not be considered. Useful for annotation/marker nodes
some engine wants to insert, without impacting algorithms that inspect e.g. the last node
of the current list.fn sourceref(&self) -> Option<(&SourceRef<ET>, &SourceRef<ET>)>
impl Copy for UnresolvedMarkers
Auto Trait Implementations§
impl Freeze for UnresolvedMarkers
impl RefUnwindSafe for UnresolvedMarkers
impl Send for UnresolvedMarkers
impl Sync for UnresolvedMarkers
impl Unpin for UnresolvedMarkers
impl UnsafeUnpin for UnresolvedMarkers
impl UnwindSafe for UnresolvedMarkers
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more