pub struct ResolvedChoice<ET: EngineTypes>(pub Box<[MathNode<ET, MathFontStyle<ET>>]>);Expand description
A resolved \mathchoice node. This is the state after the math list has been constructed,
at which point it is only a wrapper around a list of nodes.
Tuple Fields§
§0: Box<[MathNode<ET, MathFontStyle<ET>>]>Implementations§
Source§impl<ET: EngineTypes> ResolvedChoice<ET>
impl<ET: EngineTypes> ResolvedChoice<ET>
Trait Implementations§
Source§impl<ET: EngineTypes> Clone for ResolvedChoice<ET>
impl<ET: EngineTypes> Clone for ResolvedChoice<ET>
Source§impl<ET: EngineTypes> Debug for ResolvedChoice<ET>
impl<ET: EngineTypes> Debug for ResolvedChoice<ET>
impl<ET: EngineTypes> MathChoiceT<ET> for ResolvedChoice<ET>
Auto Trait Implementations§
impl<ET> Freeze for ResolvedChoice<ET>
impl<ET> !RefUnwindSafe for ResolvedChoice<ET>
impl<ET> Send for ResolvedChoice<ET>where
<ET as EngineTypes>::Dim: Send,
<ET as EngineTypes>::MuDim: Send,
<ET as EngineTypes>::CustomNode: Send,
<ET as EngineTypes>::Font: Send,
<<ET as EngineTypes>::File as File>::SourceRefID: Send,
ET: Send,
<ET as EngineTypes>::Char: Send,
impl<ET> !Sync for ResolvedChoice<ET>
impl<ET> Unpin for ResolvedChoice<ET>
impl<ET> UnsafeUnpin for ResolvedChoice<ET>
impl<ET> UnwindSafe for ResolvedChoice<ET>where
<ET as EngineTypes>::Dim: UnwindSafe,
<ET as EngineTypes>::MuDim: UnwindSafe,
<ET as EngineTypes>::CustomNode: UnwindSafe,
<ET as EngineTypes>::Font: UnwindSafe,
<<ET as EngineTypes>::File as File>::SourceRefID: UnwindSafe,
ET: UnwindSafe,
<ET as EngineTypes>::Char: UnwindSafe,
<ET as EngineTypes>::Token: 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