Enum serde_yml::libyml::emitter::ScalarStyle
source · pub enum ScalarStyle {
Any,
Plain,
SingleQuoted,
Literal,
}
Expand description
Styles for YAML scalars.
Variants§
Any
Any scalar style.
Plain
Plain scalar style.
SingleQuoted
Single quoted scalar style.
Literal
Literal scalar style.
Trait Implementations§
source§impl Clone for ScalarStyle
impl Clone for ScalarStyle
source§fn clone(&self) -> ScalarStyle
fn clone(&self) -> ScalarStyle
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 ScalarStyle
impl Debug for ScalarStyle
impl Copy for ScalarStyle
Auto Trait Implementations§
impl Freeze for ScalarStyle
impl RefUnwindSafe for ScalarStyle
impl Send for ScalarStyle
impl Sync for ScalarStyle
impl Unpin for ScalarStyle
impl UnwindSafe for ScalarStyle
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
)