#[non_exhaustive]pub enum ContainerOrigin {
Element,
Directive,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Element
An HTML or XML tag: <div>, <video>, <svg:rect>.
Directive
A lightweight-markup generic container: a djot fenced div or bracketed
span, a Markdown :::note / ::name / :name, an rST .. note::, an
AsciiDoc delimited block.
Trait Implementations§
Source§impl Clone for ContainerOrigin
impl Clone for ContainerOrigin
Source§fn clone(&self) -> ContainerOrigin
fn clone(&self) -> ContainerOrigin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContainerOrigin
Source§impl Debug for ContainerOrigin
impl Debug for ContainerOrigin
impl Eq for ContainerOrigin
Source§impl PartialEq for ContainerOrigin
impl PartialEq for ContainerOrigin
impl StructuralPartialEq for ContainerOrigin
Auto Trait Implementations§
impl Freeze for ContainerOrigin
impl RefUnwindSafe for ContainerOrigin
impl Send for ContainerOrigin
impl Sync for ContainerOrigin
impl Unpin for ContainerOrigin
impl UnsafeUnpin for ContainerOrigin
impl UnwindSafe for ContainerOrigin
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