pub struct YamlKeyValue {
pub key: String,
pub value: String,
pub line: usize,
pub indent: usize,
}Expand description
A discovered YAML mapping entry.
Fields§
§key: String§value: String§line: usize§indent: usizeTrait Implementations§
Source§impl Clone for YamlKeyValue
impl Clone for YamlKeyValue
Source§fn clone(&self) -> YamlKeyValue
fn clone(&self) -> YamlKeyValue
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 moreSource§impl Debug for YamlKeyValue
impl Debug for YamlKeyValue
Source§impl PartialEq for YamlKeyValue
impl PartialEq for YamlKeyValue
Source§fn eq(&self, other: &YamlKeyValue) -> bool
fn eq(&self, other: &YamlKeyValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for YamlKeyValue
impl StructuralPartialEq for YamlKeyValue
Auto Trait Implementations§
impl Freeze for YamlKeyValue
impl RefUnwindSafe for YamlKeyValue
impl Send for YamlKeyValue
impl Sync for YamlKeyValue
impl Unpin for YamlKeyValue
impl UnsafeUnpin for YamlKeyValue
impl UnwindSafe for YamlKeyValue
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