Struct yaml_rust_davvid::yaml::YamlDecoder
source · pub struct YamlDecoder<T: Read> { /* private fields */ }
Implementations§
source§impl<T: Read> YamlDecoder<T>
impl<T: Read> YamlDecoder<T>
pub fn read(source: T) -> YamlDecoder<T>
pub fn encoding_trap(&mut self, trap: DecoderTrap) -> &mut Self
pub fn decode(&mut self) -> Result<Vec<Yaml>, LoadError>
Auto Trait Implementations§
impl<T> Freeze for YamlDecoder<T>where
T: Freeze,
impl<T> RefUnwindSafe for YamlDecoder<T>where
T: RefUnwindSafe,
impl<T> Send for YamlDecoder<T>where
T: Send,
impl<T> Sync for YamlDecoder<T>where
T: Sync,
impl<T> Unpin for YamlDecoder<T>where
T: Unpin,
impl<T> UnwindSafe for YamlDecoder<T>where
T: UnwindSafe,
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