Enum libyml::yaml::YamlSequenceStyleT
source · #[non_exhaustive]#[repr(u32)]pub enum YamlSequenceStyleT {
YamlAnySequenceStyle = 0,
YamlBlockSequenceStyle = 1,
YamlFlowSequenceStyle = 2,
}
Expand description
Sequence 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.
YamlAnySequenceStyle = 0
Let the emitter choose the style.
YamlBlockSequenceStyle = 1
The block sequence style.
YamlFlowSequenceStyle = 2
The flow sequence style.
Trait Implementations§
source§impl Clone for YamlSequenceStyleT
impl Clone for YamlSequenceStyleT
source§fn clone(&self) -> YamlSequenceStyleT
fn clone(&self) -> YamlSequenceStyleT
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 YamlSequenceStyleT
impl Debug for YamlSequenceStyleT
source§impl Hash for YamlSequenceStyleT
impl Hash for YamlSequenceStyleT
source§impl Ord for YamlSequenceStyleT
impl Ord for YamlSequenceStyleT
source§fn cmp(&self, other: &YamlSequenceStyleT) -> Ordering
fn cmp(&self, other: &YamlSequenceStyleT) -> 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 YamlSequenceStyleT
impl PartialEq for YamlSequenceStyleT
source§impl PartialOrd for YamlSequenceStyleT
impl PartialOrd for YamlSequenceStyleT
impl Copy for YamlSequenceStyleT
impl Eq for YamlSequenceStyleT
impl StructuralPartialEq for YamlSequenceStyleT
Auto Trait Implementations§
impl Freeze for YamlSequenceStyleT
impl RefUnwindSafe for YamlSequenceStyleT
impl Send for YamlSequenceStyleT
impl Sync for YamlSequenceStyleT
impl Unpin for YamlSequenceStyleT
impl UnwindSafe for YamlSequenceStyleT
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
)