#[repr(u8)]pub enum ArchivedNode {
Show 25 variants
Text(<TextNode as Archive>::Archived),
CodeInline(<TextNode 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),
FootnoteDefinition(<FootnoteNode as Archive>::Archived),
FootnoteReference(<FootnoteNode as Archive>::Archived),
MathInline(<TextNode as Archive>::Archived),
MathDisplay(<TextNode 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>::ArchivedThe archived counterpart of Node::Text::0
CodeInline(<TextNode as Archive>::Archived)
The archived counterpart of Node::CodeInline
Tuple Fields
0: <TextNode as Archive>::ArchivedThe archived counterpart of Node::CodeInline::0
CodeBlock(<CodeBlockNode as Archive>::Archived)
The archived counterpart of Node::CodeBlock
Tuple Fields
0: <CodeBlockNode as Archive>::ArchivedThe archived counterpart of Node::CodeBlock::0
Paragraph(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::Paragraph
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::Paragraph::0
Heading(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::Heading
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::Heading::0
List(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::List
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::List::0
ListItem(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::ListItem
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::ListItem::0
Blockquote(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::Blockquote
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::Blockquote::0
ThematicBreak(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::ThematicBreak
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::ThematicBreak::0
Html(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::Html
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::Html::0
Table(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::Table
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::Table::0
TableRow(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::TableRow
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::TableRow::0
TableCell(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::TableCell
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::TableCell::0
Link(<LinkNode as Archive>::Archived)
The archived counterpart of Node::Link
Tuple Fields
0: <LinkNode as Archive>::ArchivedThe archived counterpart of Node::Link::0
Image(<ImageNode as Archive>::Archived)
The archived counterpart of Node::Image
Tuple Fields
0: <ImageNode as Archive>::ArchivedThe archived counterpart of Node::Image::0
Emphasis(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::Emphasis
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::Emphasis::0
Strong(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::Strong
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::Strong::0
Strikethrough(<StandardBlockNode as Archive>::Archived)
The archived counterpart of Node::Strikethrough
Tuple Fields
0: <StandardBlockNode as Archive>::ArchivedThe archived counterpart of Node::Strikethrough::0
FootnoteDefinition(<FootnoteNode as Archive>::Archived)
The archived counterpart of Node::FootnoteDefinition
Tuple Fields
0: <FootnoteNode as Archive>::ArchivedThe archived counterpart of Node::FootnoteDefinition::0
FootnoteReference(<FootnoteNode as Archive>::Archived)
The archived counterpart of Node::FootnoteReference
Tuple Fields
0: <FootnoteNode as Archive>::ArchivedThe archived counterpart of Node::FootnoteReference::0
MathInline(<TextNode as Archive>::Archived)
The archived counterpart of Node::MathInline
Tuple Fields
0: <TextNode as Archive>::ArchivedThe archived counterpart of Node::MathInline::0
MathDisplay(<TextNode as Archive>::Archived)
The archived counterpart of Node::MathDisplay
Tuple Fields
0: <TextNode as Archive>::ArchivedThe archived counterpart of Node::MathDisplay::0
Component(<ComponentNode as Archive>::Archived)
The archived counterpart of Node::Component
Tuple Fields
0: <ComponentNode as Archive>::ArchivedThe archived counterpart of Node::Component::0
Variable(<VariableNode as Archive>::Archived)
The archived counterpart of Node::Variable
Tuple Fields
0: <VariableNode as Archive>::ArchivedThe archived counterpart of Node::Variable::0
Error(<ErrorNode as Archive>::Archived)
The archived counterpart of Node::Error
Tuple Fields
0: <ErrorNode as Archive>::ArchivedThe archived counterpart of Node::Error::0
Trait Implementations§
Source§impl<__C> CheckBytes<__C> for ArchivedNode
impl<__C> CheckBytes<__C> for ArchivedNode
impl Portable for ArchivedNodewhere
<TextNode as Archive>::Archived: Portable,
<CodeBlockNode as Archive>::Archived: Portable,
<StandardBlockNode as Archive>::Archived: Portable,
<LinkNode as Archive>::Archived: Portable,
<ImageNode as Archive>::Archived: Portable,
<FootnoteNode as Archive>::Archived: Portable,
<ComponentNode as Archive>::Archived: Portable,
<VariableNode as Archive>::Archived: Portable,
<ErrorNode as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedNode
impl RefUnwindSafe for ArchivedNode
impl Send for ArchivedNode
impl Sync for ArchivedNode
impl !Unpin for ArchivedNode
impl !UnsafeUnpin for ArchivedNode
impl UnwindSafe for ArchivedNode
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.