pub enum EnclosureKind<'a> {
CurlyBrace,
SquareParen,
Parens,
Fragment,
Error {
open: Atom<'a>,
close: Option<Atom<'a>>,
},
}
Variants§
CurlyBrace
SquareParen
Parens
Fragment
Intenral - akin to HTML fragment which is just a list of nodes.
Error
Implementations§
Source§impl<'a> EnclosureKind<'a>
impl<'a> EnclosureKind<'a>
Trait Implementations§
Source§impl<'a> Clone for EnclosureKind<'a>
impl<'a> Clone for EnclosureKind<'a>
Source§fn clone(&self) -> EnclosureKind<'a>
fn clone(&self) -> EnclosureKind<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for EnclosureKind<'a>
impl<'a> Debug for EnclosureKind<'a>
Source§impl<'a> PartialEq for EnclosureKind<'a>
impl<'a> PartialEq for EnclosureKind<'a>
impl<'a> StructuralPartialEq for EnclosureKind<'a>
Auto Trait Implementations§
impl<'a> Freeze for EnclosureKind<'a>
impl<'a> RefUnwindSafe for EnclosureKind<'a>
impl<'a> Send for EnclosureKind<'a>
impl<'a> Sync for EnclosureKind<'a>
impl<'a> Unpin for EnclosureKind<'a>
impl<'a> UnwindSafe for EnclosureKind<'a>
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