pub enum ParseNodeArrayTag {
Bool(bool),
Nodes(Vec<AnyParseNode>),
}
Expand description
The array item of tags in array
Variants§
Bool(bool)
A boolean value indicating if the tag is active
Nodes(Vec<AnyParseNode>)
A list of nodes associated with the tag
Implementations§
Trait Implementations§
Source§impl Clone for ParseNodeArrayTag
impl Clone for ParseNodeArrayTag
Source§fn clone(&self) -> ParseNodeArrayTag
fn clone(&self) -> ParseNodeArrayTag
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 Debug for ParseNodeArrayTag
impl Debug for ParseNodeArrayTag
Source§impl From<Vec<AnyParseNode>> for ParseNodeArrayTag
impl From<Vec<AnyParseNode>> for ParseNodeArrayTag
Source§fn from(nodes: Vec<AnyParseNode>) -> Self
fn from(nodes: Vec<AnyParseNode>) -> Self
Converts to this type from the input type.
Source§impl From<bool> for ParseNodeArrayTag
impl From<bool> for ParseNodeArrayTag
Source§impl PartialEq for ParseNodeArrayTag
impl PartialEq for ParseNodeArrayTag
impl StructuralPartialEq for ParseNodeArrayTag
Auto Trait Implementations§
impl Freeze for ParseNodeArrayTag
impl RefUnwindSafe for ParseNodeArrayTag
impl Send for ParseNodeArrayTag
impl Sync for ParseNodeArrayTag
impl Unpin for ParseNodeArrayTag
impl UnwindSafe for ParseNodeArrayTag
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