pub struct YamlVersion {
pub major: u32,
pub minor: u32,
}Expand description
The %YAML version directive.
Fields§
§major: u32Major version.
minor: u32Minor version.
Implementations§
Source§impl YamlVersion
impl YamlVersion
Sourcepub const V1_1: YamlVersion
pub const V1_1: YamlVersion
The version ASDF mandates in the tree.
Trait Implementations§
Source§impl Clone for YamlVersion
impl Clone for YamlVersion
Source§fn clone(&self) -> YamlVersion
fn clone(&self) -> YamlVersion
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 YamlVersion
Source§impl Debug for YamlVersion
impl Debug for YamlVersion
Source§impl Default for YamlVersion
impl Default for YamlVersion
impl Eq for YamlVersion
Source§impl PartialEq for YamlVersion
impl PartialEq for YamlVersion
impl StructuralPartialEq for YamlVersion
Auto Trait Implementations§
impl Freeze for YamlVersion
impl RefUnwindSafe for YamlVersion
impl Send for YamlVersion
impl Sync for YamlVersion
impl Unpin for YamlVersion
impl UnsafeUnpin for YamlVersion
impl UnwindSafe for YamlVersion
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