Skip to main content

ArchivedNode

Enum ArchivedNode 

Source
#[repr(u8)]
pub enum ArchivedNode {
Show 30 variants Text(<TextNode as Archive>::Archived), CodeInline(<CodeInlineNode as Archive>::Archived), CodeBlock(<CodeBlockNode as Archive>::Archived), Paragraph(<StandardBlockNode as Archive>::Archived), Heading(<StandardBlockNode as Archive>::Archived), List(<StandardBlockNode as Archive>::Archived), ListItem(<StandardBlockNode as Archive>::Archived), Blockquote(<StandardBlockNode as Archive>::Archived), ThematicBreak(<StandardBlockNode as Archive>::Archived), Html(<StandardBlockNode as Archive>::Archived), Table(<StandardBlockNode as Archive>::Archived), TableRow(<StandardBlockNode as Archive>::Archived), TableCell(<StandardBlockNode as Archive>::Archived), Link(<LinkNode as Archive>::Archived), Image(<ImageNode as Archive>::Archived), Emphasis(<StandardBlockNode as Archive>::Archived), Strong(<StandardBlockNode as Archive>::Archived), Strikethrough(<StandardBlockNode as Archive>::Archived), DefinitionList(<StandardBlockNode as Archive>::Archived), DefinitionTerm(<StandardBlockNode as Archive>::Archived), DefinitionDescription(<StandardBlockNode as Archive>::Archived), FootnoteDefinition(<FootnoteNode as Archive>::Archived), FootnoteReference(<FootnoteNode as Archive>::Archived), MathInline(<MathNode as Archive>::Archived), MathDisplay(<MathDisplayNode as Archive>::Archived), Citation(<CitationNode as Archive>::Archived), CrossRef(<CrossRefNode as Archive>::Archived), Component(<ComponentNode as Archive>::Archived), Variable(<VariableNode as Archive>::Archived), Error(<ErrorNode as Archive>::Archived),
}
Expand description

An archived Node

Variants§

§

Text(<TextNode as Archive>::Archived)

The archived counterpart of Node::Text

Tuple Fields

§0: <TextNode as Archive>::Archived

The archived counterpart of Node::Text::0

§

CodeInline(<CodeInlineNode as Archive>::Archived)

The archived counterpart of Node::CodeInline

Tuple Fields

§0: <CodeInlineNode as Archive>::Archived

The archived counterpart of Node::CodeInline::0

§

CodeBlock(<CodeBlockNode as Archive>::Archived)

The archived counterpart of Node::CodeBlock

Tuple Fields

§0: <CodeBlockNode as Archive>::Archived

The archived counterpart of Node::CodeBlock::0

§

Paragraph(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::Paragraph

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::Paragraph::0

§

Heading(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::Heading

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::Heading::0

§

List(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::List

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::List::0

§

ListItem(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::ListItem

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::ListItem::0

§

Blockquote(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::Blockquote

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::Blockquote::0

§

ThematicBreak(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::ThematicBreak

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::ThematicBreak::0

§

Html(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::Html

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::Html::0

§

Table(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::Table

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::Table::0

§

TableRow(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::TableRow

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::TableRow::0

§

TableCell(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::TableCell

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::TableCell::0

The archived counterpart of Node::Link

Tuple Fields

§0: <LinkNode as Archive>::Archived

The archived counterpart of Node::Link::0

§

Image(<ImageNode as Archive>::Archived)

The archived counterpart of Node::Image

Tuple Fields

§0: <ImageNode as Archive>::Archived

The archived counterpart of Node::Image::0

§

Emphasis(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::Emphasis

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::Emphasis::0

§

Strong(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::Strong

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::Strong::0

§

Strikethrough(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::Strikethrough

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::Strikethrough::0

§

DefinitionList(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::DefinitionList

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::DefinitionList::0

§

DefinitionTerm(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::DefinitionTerm

Tuple Fields

§0: <StandardBlockNode as Archive>::Archived

The archived counterpart of Node::DefinitionTerm::0

§

DefinitionDescription(<StandardBlockNode as Archive>::Archived)

The archived counterpart of Node::DefinitionDescription

Tuple Fields

§

FootnoteDefinition(<FootnoteNode as Archive>::Archived)

The archived counterpart of Node::FootnoteDefinition

Tuple Fields

§0: <FootnoteNode as Archive>::Archived

The archived counterpart of Node::FootnoteDefinition::0

§

FootnoteReference(<FootnoteNode as Archive>::Archived)

The archived counterpart of Node::FootnoteReference

Tuple Fields

§0: <FootnoteNode as Archive>::Archived

The archived counterpart of Node::FootnoteReference::0

§

MathInline(<MathNode as Archive>::Archived)

The archived counterpart of Node::MathInline

Tuple Fields

§0: <MathNode as Archive>::Archived

The archived counterpart of Node::MathInline::0

§

MathDisplay(<MathDisplayNode as Archive>::Archived)

The archived counterpart of Node::MathDisplay

Tuple Fields

§0: <MathDisplayNode as Archive>::Archived

The archived counterpart of Node::MathDisplay::0

§

Citation(<CitationNode as Archive>::Archived)

The archived counterpart of Node::Citation

Tuple Fields

§0: <CitationNode as Archive>::Archived

The archived counterpart of Node::Citation::0

§

CrossRef(<CrossRefNode as Archive>::Archived)

The archived counterpart of Node::CrossRef

Tuple Fields

§0: <CrossRefNode as Archive>::Archived

The archived counterpart of Node::CrossRef::0

§

Component(<ComponentNode as Archive>::Archived)

The archived counterpart of Node::Component

Tuple Fields

§0: <ComponentNode as Archive>::Archived

The archived counterpart of Node::Component::0

§

Variable(<VariableNode as Archive>::Archived)

The archived counterpart of Node::Variable

Tuple Fields

§0: <VariableNode as Archive>::Archived

The archived counterpart of Node::Variable::0

§

Error(<ErrorNode as Archive>::Archived)

The archived counterpart of Node::Error

Tuple Fields

§0: <ErrorNode as Archive>::Archived

The archived counterpart of Node::Error::0

Trait Implementations§

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.