pub enum YamlScalarStyle {
Plain,
SingleQuoted,
DoubleQuoted,
Literal,
Folded,
}Expand description
YAML scalar spelling.
Variants§
Plain
Plain scalar syntax.
SingleQuoted
Single-quoted scalar syntax.
DoubleQuoted
Double-quoted scalar syntax.
Literal
Literal block scalar syntax.
Folded
Folded block scalar syntax.
Trait Implementations§
Source§impl Clone for YamlScalarStyle
impl Clone for YamlScalarStyle
Source§fn clone(&self) -> YamlScalarStyle
fn clone(&self) -> YamlScalarStyle
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 YamlScalarStyle
Source§impl Debug for YamlScalarStyle
impl Debug for YamlScalarStyle
impl Eq for YamlScalarStyle
Source§impl PartialEq for YamlScalarStyle
impl PartialEq for YamlScalarStyle
impl StructuralPartialEq for YamlScalarStyle
Auto Trait Implementations§
impl Freeze for YamlScalarStyle
impl RefUnwindSafe for YamlScalarStyle
impl Send for YamlScalarStyle
impl Sync for YamlScalarStyle
impl Unpin for YamlScalarStyle
impl UnsafeUnpin for YamlScalarStyle
impl UnwindSafe for YamlScalarStyle
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