pub enum TScalarStyle {
Plain,
SingleQuoted,
DoubleQuoted,
Literal,
Folded,
}
Expand description
The style as which the scalar was written in the YAML document.
Variants§
Plain
A YAML plain scalar.
SingleQuoted
A YAML single quoted scalar.
DoubleQuoted
A YAML double quoted scalar.
Literal
A YAML literal block (|
block).
Folded
A YAML folded block (>
block).
Trait Implementations§
source§impl Clone for TScalarStyle
impl Clone for TScalarStyle
source§fn clone(&self) -> TScalarStyle
fn clone(&self) -> TScalarStyle
Returns a copy 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 TScalarStyle
impl Debug for TScalarStyle
source§impl PartialEq for TScalarStyle
impl PartialEq for TScalarStyle
impl Copy for TScalarStyle
impl Eq for TScalarStyle
impl StructuralPartialEq for TScalarStyle
Auto Trait Implementations§
impl Freeze for TScalarStyle
impl RefUnwindSafe for TScalarStyle
impl Send for TScalarStyle
impl Sync for TScalarStyle
impl Unpin for TScalarStyle
impl UnwindSafe for TScalarStyle
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)