Enum libyml::yaml::YamlMappingStyleT
source · #[non_exhaustive]#[repr(u32)]pub enum YamlMappingStyleT {
YamlAnyMappingStyle = 0,
YamlBlockMappingStyle = 1,
YamlFlowMappingStyle = 2,
}
Expand description
Mapping styles.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
YamlAnyMappingStyle = 0
Let the emitter choose the style.
YamlBlockMappingStyle = 1
The block mapping style.
YamlFlowMappingStyle = 2
The flow mapping style.
Trait Implementations§
source§impl Clone for YamlMappingStyleT
impl Clone for YamlMappingStyleT
source§fn clone(&self) -> YamlMappingStyleT
fn clone(&self) -> YamlMappingStyleT
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 YamlMappingStyleT
impl Debug for YamlMappingStyleT
source§impl Hash for YamlMappingStyleT
impl Hash for YamlMappingStyleT
source§impl Ord for YamlMappingStyleT
impl Ord for YamlMappingStyleT
source§fn cmp(&self, other: &YamlMappingStyleT) -> Ordering
fn cmp(&self, other: &YamlMappingStyleT) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for YamlMappingStyleT
impl PartialEq for YamlMappingStyleT
source§impl PartialOrd for YamlMappingStyleT
impl PartialOrd for YamlMappingStyleT
impl Copy for YamlMappingStyleT
impl Eq for YamlMappingStyleT
impl StructuralPartialEq for YamlMappingStyleT
Auto Trait Implementations§
impl Freeze for YamlMappingStyleT
impl RefUnwindSafe for YamlMappingStyleT
impl Send for YamlMappingStyleT
impl Sync for YamlMappingStyleT
impl Unpin for YamlMappingStyleT
impl UnwindSafe for YamlMappingStyleT
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
)