#[repr(u8)]pub enum ArchivedMathExprwhere
String: Archive,
MathOperator: Archive,
Delimiter: Archive,
FracStyle: Archive,
AccentKind: Archive,
LimitStyle: Archive,
MatrixDelimiters: Archive,
Vec<ColumnAlign>: Archive,
bool: Archive,
MathSpace: Archive,
SmashMode: Archive,
MathStyle: Archive,
MathFont: Archive,{
Show 34 variants
Ident {
value: <String as Archive>::Archived,
},
Number {
value: <String as Archive>::Archived,
},
Operator(<MathOperator as Archive>::Archived),
Text {
value: <String as Archive>::Archived,
},
Row {
children: <Vec<MathExpr> as Archive>::Archived,
},
Fenced {
open: <Delimiter as Archive>::Archived,
close: <Delimiter as Archive>::Archived,
body: <Vec<MathExpr> as Archive>::Archived,
},
Superscript {
base: <Box<MathExpr> as Archive>::Archived,
script: <Box<MathExpr> as Archive>::Archived,
},
Subscript {
base: <Box<MathExpr> as Archive>::Archived,
script: <Box<MathExpr> as Archive>::Archived,
},
Subsuperscript {
base: <Box<MathExpr> as Archive>::Archived,
sub: <Box<MathExpr> as Archive>::Archived,
sup: <Box<MathExpr> as Archive>::Archived,
},
Frac {
numerator: <Box<MathExpr> as Archive>::Archived,
denominator: <Box<MathExpr> as Archive>::Archived,
style: <FracStyle as Archive>::Archived,
},
Sqrt {
index: <Option<Box<MathExpr>> as Archive>::Archived,
body: <Box<MathExpr> as Archive>::Archived,
},
Overline {
body: <Box<MathExpr> as Archive>::Archived,
},
Underline {
body: <Box<MathExpr> as Archive>::Archived,
},
Overbrace {
body: <Box<MathExpr> as Archive>::Archived,
annotation: <Option<Box<MathExpr>> as Archive>::Archived,
},
Underbrace {
body: <Box<MathExpr> as Archive>::Archived,
annotation: <Option<Box<MathExpr>> as Archive>::Archived,
},
Overset {
over: <Box<MathExpr> as Archive>::Archived,
base: <Box<MathExpr> as Archive>::Archived,
},
Underset {
under: <Box<MathExpr> as Archive>::Archived,
base: <Box<MathExpr> as Archive>::Archived,
},
Accent {
kind: <AccentKind as Archive>::Archived,
body: <Box<MathExpr> as Archive>::Archived,
},
BigOperator {
op: <MathOperator as Archive>::Archived,
limits: <LimitStyle as Archive>::Archived,
lower: <Option<Box<MathExpr>> as Archive>::Archived,
upper: <Option<Box<MathExpr>> as Archive>::Archived,
},
Matrix {
rows: <Vec<Vec<MathExpr>> as Archive>::Archived,
delimiters: <MatrixDelimiters as Archive>::Archived,
},
Cases {
rows: <Vec<CaseRow> as Archive>::Archived,
},
Array {
columns: <Vec<ColumnAlign> as Archive>::Archived,
rows: <Vec<Vec<MathExpr>> as Archive>::Archived,
},
Align {
rows: <Vec<AlignRow> as Archive>::Archived,
numbered: <bool as Archive>::Archived,
},
Gather {
rows: <Vec<MathExpr> as Archive>::Archived,
numbered: <bool as Archive>::Archived,
},
Space(<MathSpace as Archive>::Archived),
Phantom {
body: <Box<MathExpr> as Archive>::Archived,
},
HPhantom {
body: <Box<MathExpr> as Archive>::Archived,
},
VPhantom {
body: <Box<MathExpr> as Archive>::Archived,
},
Smash {
body: <Box<MathExpr> as Archive>::Archived,
mode: <SmashMode as Archive>::Archived,
},
StyleOverride {
style: <MathStyle as Archive>::Archived,
body: <Box<MathExpr> as Archive>::Archived,
},
FontOverride {
font: <MathFont as Archive>::Archived,
body: <Box<MathExpr> as Archive>::Archived,
},
Color {
color: <String as Archive>::Archived,
body: <Box<MathExpr> as Archive>::Archived,
},
Chem {
value: <String as Archive>::Archived,
},
Error {
raw: <String as Archive>::Archived,
message: <String as Archive>::Archived,
},
}Expand description
An archived MathExpr
Variants§
Ident
The archived counterpart of MathExpr::Ident
Fields
value: <String as Archive>::ArchivedThe archived counterpart of MathExpr::Ident::value
Number
The archived counterpart of MathExpr::Number
Fields
value: <String as Archive>::ArchivedThe archived counterpart of MathExpr::Number::value
Operator(<MathOperator as Archive>::Archived)
The archived counterpart of MathExpr::Operator
Tuple Fields
0: <MathOperator as Archive>::ArchivedThe archived counterpart of MathExpr::Operator::0
Text
The archived counterpart of MathExpr::Text
Fields
value: <String as Archive>::ArchivedThe archived counterpart of MathExpr::Text::value
Row
The archived counterpart of MathExpr::Row
Fields
Fenced
The archived counterpart of MathExpr::Fenced
Fields
open: <Delimiter as Archive>::ArchivedThe archived counterpart of MathExpr::Fenced::open
close: <Delimiter as Archive>::ArchivedThe archived counterpart of MathExpr::Fenced::close
Superscript
The archived counterpart of MathExpr::Superscript
Fields
Subscript
The archived counterpart of MathExpr::Subscript
Fields
Subsuperscript
The archived counterpart of MathExpr::Subsuperscript
Fields
Frac
The archived counterpart of MathExpr::Frac
Fields
numerator: <Box<MathExpr> as Archive>::ArchivedThe archived counterpart of MathExpr::Frac::numerator
denominator: <Box<MathExpr> as Archive>::ArchivedThe archived counterpart of MathExpr::Frac::denominator
style: <FracStyle as Archive>::ArchivedThe archived counterpart of MathExpr::Frac::style
Sqrt
The archived counterpart of MathExpr::Sqrt
Fields
Overline
The archived counterpart of MathExpr::Overline
Fields
Underline
The archived counterpart of MathExpr::Underline
Fields
Overbrace
The archived counterpart of MathExpr::Overbrace
Fields
Underbrace
The archived counterpart of MathExpr::Underbrace
Fields
Overset
The archived counterpart of MathExpr::Overset
Fields
Underset
The archived counterpart of MathExpr::Underset
Fields
Accent
The archived counterpart of MathExpr::Accent
Fields
kind: <AccentKind as Archive>::ArchivedThe archived counterpart of MathExpr::Accent::kind
BigOperator
The archived counterpart of MathExpr::BigOperator
Fields
op: <MathOperator as Archive>::ArchivedThe archived counterpart of MathExpr::BigOperator::op
limits: <LimitStyle as Archive>::ArchivedThe archived counterpart of MathExpr::BigOperator::limits
Matrix
The archived counterpart of MathExpr::Matrix
Fields
delimiters: <MatrixDelimiters as Archive>::ArchivedThe archived counterpart of MathExpr::Matrix::delimiters
Cases
The archived counterpart of MathExpr::Cases
Array
The archived counterpart of MathExpr::Array
Fields
columns: <Vec<ColumnAlign> as Archive>::ArchivedThe archived counterpart of MathExpr::Array::columns
Align
The archived counterpart of MathExpr::Align
Fields
numbered: <bool as Archive>::ArchivedThe archived counterpart of MathExpr::Align::numbered
Gather
The archived counterpart of MathExpr::Gather
Fields
numbered: <bool as Archive>::ArchivedThe archived counterpart of MathExpr::Gather::numbered
Space(<MathSpace as Archive>::Archived)
The archived counterpart of MathExpr::Space
Tuple Fields
0: <MathSpace as Archive>::ArchivedThe archived counterpart of MathExpr::Space::0
Phantom
The archived counterpart of MathExpr::Phantom
Fields
HPhantom
The archived counterpart of MathExpr::HPhantom
Fields
VPhantom
The archived counterpart of MathExpr::VPhantom
Fields
Smash
The archived counterpart of MathExpr::Smash
Fields
mode: <SmashMode as Archive>::ArchivedThe archived counterpart of MathExpr::Smash::mode
StyleOverride
The archived counterpart of MathExpr::StyleOverride
Fields
style: <MathStyle as Archive>::ArchivedThe archived counterpart of MathExpr::StyleOverride::style
FontOverride
The archived counterpart of MathExpr::FontOverride
Fields
font: <MathFont as Archive>::ArchivedThe archived counterpart of MathExpr::FontOverride::font
Color
The archived counterpart of MathExpr::Color
Fields
color: <String as Archive>::ArchivedThe archived counterpart of MathExpr::Color::color
Chem
The archived counterpart of MathExpr::Chem
Fields
value: <String as Archive>::ArchivedThe archived counterpart of MathExpr::Chem::value
Error
The archived counterpart of MathExpr::Error
Fields
raw: <String as Archive>::ArchivedThe archived counterpart of MathExpr::Error::raw
message: <String as Archive>::ArchivedThe archived counterpart of MathExpr::Error::message
Trait Implementations§
Source§impl<__C> CheckBytes<__C> for ArchivedMathExprwhere
String: Archive,
MathOperator: Archive,
Delimiter: Archive,
FracStyle: Archive,
AccentKind: Archive,
LimitStyle: Archive,
MatrixDelimiters: Archive,
Vec<ColumnAlign>: Archive,
bool: Archive,
MathSpace: Archive,
SmashMode: Archive,
MathStyle: Archive,
MathFont: Archive,
<__C as Fallible>::Error: Source,
__C: ArchiveContext + Fallible<Error: Source> + Fallible + ?Sized,
<String as Archive>::Archived: CheckBytes<__C>,
<MathOperator as Archive>::Archived: CheckBytes<__C>,
<Delimiter as Archive>::Archived: CheckBytes<__C>,
<FracStyle as Archive>::Archived: CheckBytes<__C>,
<AccentKind as Archive>::Archived: CheckBytes<__C>,
<LimitStyle as Archive>::Archived: CheckBytes<__C>,
<MatrixDelimiters as Archive>::Archived: CheckBytes<__C>,
<Vec<ColumnAlign> as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
<MathSpace as Archive>::Archived: CheckBytes<__C>,
<SmashMode as Archive>::Archived: CheckBytes<__C>,
<MathStyle as Archive>::Archived: CheckBytes<__C>,
<MathFont as Archive>::Archived: CheckBytes<__C>,
impl<__C> CheckBytes<__C> for ArchivedMathExprwhere
String: Archive,
MathOperator: Archive,
Delimiter: Archive,
FracStyle: Archive,
AccentKind: Archive,
LimitStyle: Archive,
MatrixDelimiters: Archive,
Vec<ColumnAlign>: Archive,
bool: Archive,
MathSpace: Archive,
SmashMode: Archive,
MathStyle: Archive,
MathFont: Archive,
<__C as Fallible>::Error: Source,
__C: ArchiveContext + Fallible<Error: Source> + Fallible + ?Sized,
<String as Archive>::Archived: CheckBytes<__C>,
<MathOperator as Archive>::Archived: CheckBytes<__C>,
<Delimiter as Archive>::Archived: CheckBytes<__C>,
<FracStyle as Archive>::Archived: CheckBytes<__C>,
<AccentKind as Archive>::Archived: CheckBytes<__C>,
<LimitStyle as Archive>::Archived: CheckBytes<__C>,
<MatrixDelimiters as Archive>::Archived: CheckBytes<__C>,
<Vec<ColumnAlign> as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
<MathSpace as Archive>::Archived: CheckBytes<__C>,
<SmashMode as Archive>::Archived: CheckBytes<__C>,
<MathStyle as Archive>::Archived: CheckBytes<__C>,
<MathFont as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedMathExprwhere
String: Archive,
MathOperator: Archive,
Delimiter: Archive,
FracStyle: Archive,
AccentKind: Archive,
LimitStyle: Archive,
MatrixDelimiters: Archive,
Vec<ColumnAlign>: Archive,
bool: Archive,
MathSpace: Archive,
SmashMode: Archive,
MathStyle: Archive,
MathFont: Archive,
<String as Archive>::Archived: Portable,
<MathOperator as Archive>::Archived: Portable,
<Vec<MathExpr> as Archive>::Archived: Portable,
<Delimiter as Archive>::Archived: Portable,
<Box<MathExpr> as Archive>::Archived: Portable,
<FracStyle as Archive>::Archived: Portable,
<Option<Box<MathExpr>> as Archive>::Archived: Portable,
<AccentKind as Archive>::Archived: Portable,
<LimitStyle as Archive>::Archived: Portable,
<Vec<Vec<MathExpr>> as Archive>::Archived: Portable,
<MatrixDelimiters as Archive>::Archived: Portable,
<Vec<CaseRow> as Archive>::Archived: Portable,
<Vec<ColumnAlign> as Archive>::Archived: Portable,
<Vec<AlignRow> as Archive>::Archived: Portable,
<bool as Archive>::Archived: Portable,
<MathSpace as Archive>::Archived: Portable,
<SmashMode as Archive>::Archived: Portable,
<MathStyle as Archive>::Archived: Portable,
<MathFont as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedMathExpr
impl RefUnwindSafe for ArchivedMathExpr
impl Send for ArchivedMathExpr
impl Sync for ArchivedMathExpr
impl !Unpin for ArchivedMathExpr
impl !UnsafeUnpin for ArchivedMathExpr
impl UnwindSafe for ArchivedMathExpr
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.