pub enum YamlNode {
BlockMap(YamlBlockMap),
BlockSequence(YamlBlockSequence),
FlowMap(YamlFlowMap),
FlowSequence(YamlFlowSequence),
Scalar(YamlScalar),
}Expand description
The five concrete node shapes a value, sequence item, or document body can
take. None (i.e. an absent YamlNode) models an empty YAML value.
Variants§
BlockMap(YamlBlockMap)
BlockSequence(YamlBlockSequence)
FlowMap(YamlFlowMap)
FlowSequence(YamlFlowSequence)
Scalar(YamlScalar)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for YamlNode
impl !Send for YamlNode
impl !Sync for YamlNode
impl !UnwindSafe for YamlNode
impl Freeze for YamlNode
impl Unpin for YamlNode
impl UnsafeUnpin for YamlNode
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