pub struct YamlError {
pub kind: YamlErrorKind,
pub offset: usize,
}Fields§
§kind: YamlErrorKind§offset: usizeImplementations§
Source§impl YamlError
impl YamlError
pub fn line_column(&self, input: &[u8]) -> YamlErrorPosition
Trait Implementations§
impl Copy for YamlError
impl Eq for YamlError
impl StructuralPartialEq for YamlError
Auto Trait Implementations§
impl Freeze for YamlError
impl RefUnwindSafe for YamlError
impl Send for YamlError
impl Sync for YamlError
impl Unpin for YamlError
impl UnsafeUnpin for YamlError
impl UnwindSafe for YamlError
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