Skip to main content

ArchivedMathExpr

Enum ArchivedMathExpr 

Source
#[repr(u8)]
pub enum ArchivedMathExpr{
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>::Archived

The archived counterpart of MathExpr::Ident::value

§

Number

The archived counterpart of MathExpr::Number

Fields

§value: <String as Archive>::Archived

The archived counterpart of MathExpr::Number::value

§

Operator(<MathOperator as Archive>::Archived)

The archived counterpart of MathExpr::Operator

Tuple Fields

§0: <MathOperator as Archive>::Archived

The archived counterpart of MathExpr::Operator::0

§

Text

The archived counterpart of MathExpr::Text

Fields

§value: <String as Archive>::Archived

The archived counterpart of MathExpr::Text::value

§

Row

The archived counterpart of MathExpr::Row

Fields

§children: <Vec<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Row::children

§

Fenced

The archived counterpart of MathExpr::Fenced

Fields

§open: <Delimiter as Archive>::Archived

The archived counterpart of MathExpr::Fenced::open

§close: <Delimiter as Archive>::Archived

The archived counterpart of MathExpr::Fenced::close

§body: <Vec<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Fenced::body

§

Superscript

The archived counterpart of MathExpr::Superscript

Fields

§base: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Superscript::base

§script: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Superscript::script

§

Subscript

The archived counterpart of MathExpr::Subscript

Fields

§base: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Subscript::base

§script: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Subscript::script

§

Subsuperscript

The archived counterpart of MathExpr::Subsuperscript

Fields

§base: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Subsuperscript::base

§sub: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Subsuperscript::sub

§sup: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Subsuperscript::sup

§

Frac

The archived counterpart of MathExpr::Frac

Fields

§numerator: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Frac::numerator

§denominator: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Frac::denominator

§style: <FracStyle as Archive>::Archived

The archived counterpart of MathExpr::Frac::style

§

Sqrt

The archived counterpart of MathExpr::Sqrt

Fields

§index: <Option<Box<MathExpr>> as Archive>::Archived

The archived counterpart of MathExpr::Sqrt::index

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Sqrt::body

§

Overline

The archived counterpart of MathExpr::Overline

Fields

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Overline::body

§

Underline

The archived counterpart of MathExpr::Underline

Fields

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Underline::body

§

Overbrace

The archived counterpart of MathExpr::Overbrace

Fields

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Overbrace::body

§annotation: <Option<Box<MathExpr>> as Archive>::Archived

The archived counterpart of MathExpr::Overbrace::annotation

§

Underbrace

The archived counterpart of MathExpr::Underbrace

Fields

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Underbrace::body

§annotation: <Option<Box<MathExpr>> as Archive>::Archived

The archived counterpart of MathExpr::Underbrace::annotation

§

Overset

The archived counterpart of MathExpr::Overset

Fields

§over: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Overset::over

§base: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Overset::base

§

Underset

The archived counterpart of MathExpr::Underset

Fields

§under: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Underset::under

§base: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Underset::base

§

Accent

The archived counterpart of MathExpr::Accent

Fields

§kind: <AccentKind as Archive>::Archived

The archived counterpart of MathExpr::Accent::kind

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Accent::body

§

BigOperator

The archived counterpart of MathExpr::BigOperator

Fields

§op: <MathOperator as Archive>::Archived

The archived counterpart of MathExpr::BigOperator::op

§limits: <LimitStyle as Archive>::Archived

The archived counterpart of MathExpr::BigOperator::limits

§lower: <Option<Box<MathExpr>> as Archive>::Archived

The archived counterpart of MathExpr::BigOperator::lower

§upper: <Option<Box<MathExpr>> as Archive>::Archived

The archived counterpart of MathExpr::BigOperator::upper

§

Matrix

The archived counterpart of MathExpr::Matrix

Fields

§rows: <Vec<Vec<MathExpr>> as Archive>::Archived

The archived counterpart of MathExpr::Matrix::rows

§delimiters: <MatrixDelimiters as Archive>::Archived

The archived counterpart of MathExpr::Matrix::delimiters

§

Cases

The archived counterpart of MathExpr::Cases

Fields

§rows: <Vec<CaseRow> as Archive>::Archived

The archived counterpart of MathExpr::Cases::rows

§

Array

The archived counterpart of MathExpr::Array

Fields

§columns: <Vec<ColumnAlign> as Archive>::Archived

The archived counterpart of MathExpr::Array::columns

§rows: <Vec<Vec<MathExpr>> as Archive>::Archived

The archived counterpart of MathExpr::Array::rows

§

Align

The archived counterpart of MathExpr::Align

Fields

§rows: <Vec<AlignRow> as Archive>::Archived

The archived counterpart of MathExpr::Align::rows

§numbered: <bool as Archive>::Archived

The archived counterpart of MathExpr::Align::numbered

§

Gather

The archived counterpart of MathExpr::Gather

Fields

§rows: <Vec<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Gather::rows

§numbered: <bool as Archive>::Archived

The archived counterpart of MathExpr::Gather::numbered

§

Space(<MathSpace as Archive>::Archived)

The archived counterpart of MathExpr::Space

Tuple Fields

§0: <MathSpace as Archive>::Archived

The archived counterpart of MathExpr::Space::0

§

Phantom

The archived counterpart of MathExpr::Phantom

Fields

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Phantom::body

§

HPhantom

The archived counterpart of MathExpr::HPhantom

Fields

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::HPhantom::body

§

VPhantom

The archived counterpart of MathExpr::VPhantom

Fields

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::VPhantom::body

§

Smash

The archived counterpart of MathExpr::Smash

Fields

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Smash::body

§mode: <SmashMode as Archive>::Archived

The archived counterpart of MathExpr::Smash::mode

§

StyleOverride

The archived counterpart of MathExpr::StyleOverride

Fields

§style: <MathStyle as Archive>::Archived

The archived counterpart of MathExpr::StyleOverride::style

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::StyleOverride::body

§

FontOverride

The archived counterpart of MathExpr::FontOverride

Fields

§font: <MathFont as Archive>::Archived

The archived counterpart of MathExpr::FontOverride::font

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::FontOverride::body

§

Color

The archived counterpart of MathExpr::Color

Fields

§color: <String as Archive>::Archived

The archived counterpart of MathExpr::Color::color

§body: <Box<MathExpr> as Archive>::Archived

The archived counterpart of MathExpr::Color::body

§

Chem

The archived counterpart of MathExpr::Chem

Fields

§value: <String as Archive>::Archived

The archived counterpart of MathExpr::Chem::value

§

Error

The archived counterpart of MathExpr::Error

Fields

§raw: <String as Archive>::Archived

The archived counterpart of MathExpr::Error::raw

§message: <String as Archive>::Archived

The archived counterpart of MathExpr::Error::message

Trait Implementations§

Source§

impl<__C> CheckBytes<__C> for ArchivedMathExpr

Source§

unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the given context. Read more
Source§

impl Portable for ArchivedMathExpr

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> ArchivePointee for T

Source§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
Source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> LayoutRaw for T

Source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
Source§

impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
where T: SharedNiching<N1, N2>, N1: Niching<T>, N2: Niching<T>,

Source§

unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool

Returns whether the given value has been niched. Read more
Source§

fn resolve_niched(out: Place<NichedOption<T, N1>>)

Writes data to out indicating that a T is niched.
Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The metadata type for pointers and references to this type.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.