pub struct UnresolvedMathChoice<ET: EngineTypes> {
pub display: Box<[MathNode<ET, UnresolvedMathFontStyle<ET>>]>,
pub text: Box<[MathNode<ET, UnresolvedMathFontStyle<ET>>]>,
pub script: Box<[MathNode<ET, UnresolvedMathFontStyle<ET>>]>,
pub scriptscript: Box<[MathNode<ET, UnresolvedMathFontStyle<ET>>]>,
}Expand description
A \mathcoice node, not yet resolved. When the current math list
is closed, one of the four choices is picked, depending on the
current style.
Fields§
§display: Box<[MathNode<ET, UnresolvedMathFontStyle<ET>>]>§text: Box<[MathNode<ET, UnresolvedMathFontStyle<ET>>]>§script: Box<[MathNode<ET, UnresolvedMathFontStyle<ET>>]>§scriptscript: Box<[MathNode<ET, UnresolvedMathFontStyle<ET>>]>Trait Implementations§
Source§impl<ET: Clone + EngineTypes> Clone for UnresolvedMathChoice<ET>
impl<ET: Clone + EngineTypes> Clone for UnresolvedMathChoice<ET>
Source§fn clone(&self) -> UnresolvedMathChoice<ET>
fn clone(&self) -> UnresolvedMathChoice<ET>
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<ET: Debug + EngineTypes> Debug for UnresolvedMathChoice<ET>
impl<ET: Debug + EngineTypes> Debug for UnresolvedMathChoice<ET>
impl<ET: EngineTypes> MathChoiceT<ET> for UnresolvedMathChoice<ET>
Auto Trait Implementations§
impl<ET> Freeze for UnresolvedMathChoice<ET>
impl<ET> !RefUnwindSafe for UnresolvedMathChoice<ET>
impl<ET> Send for UnresolvedMathChoice<ET>where
<ET as EngineTypes>::Dim: Send,
<ET as EngineTypes>::MuDim: Send,
<ET as EngineTypes>::CustomNode: Send,
<<ET as EngineTypes>::File as File>::SourceRefID: Send,
<ET as EngineTypes>::Char: Send,
ET: Send,
<ET as EngineTypes>::Font: Send,
impl<ET> !Sync for UnresolvedMathChoice<ET>
impl<ET> Unpin for UnresolvedMathChoice<ET>
impl<ET> UnsafeUnpin for UnresolvedMathChoice<ET>
impl<ET> UnwindSafe for UnresolvedMathChoice<ET>where
<ET as EngineTypes>::Dim: UnwindSafe,
<ET as EngineTypes>::MuDim: UnwindSafe,
<ET as EngineTypes>::CustomNode: UnwindSafe,
<<ET as EngineTypes>::File as File>::SourceRefID: UnwindSafe,
<ET as EngineTypes>::Char: UnwindSafe,
ET: UnwindSafe,
<ET as EngineTypes>::Token: UnwindSafe,
<ET as EngineTypes>::Font: UnwindSafe,
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