Struct yaml_rust_davvid::yaml::YamlLoader
source · pub struct YamlLoader<'a> { /* private fields */ }
Implementations§
source§impl<'a> YamlLoader<'a>
impl<'a> YamlLoader<'a>
pub fn register_scalar_parser(&mut self, parser: &'a dyn YamlScalarParser)
pub fn load_from_str(source: &str) -> Result<Vec<Yaml>, ScanError>
pub fn new() -> YamlLoader<'a>
pub fn parse_from_str(self, source: &str) -> Result<Vec<Yaml>, ScanError>
Trait Implementations§
source§impl<'a> Default for YamlLoader<'a>
impl<'a> Default for YamlLoader<'a>
source§fn default() -> YamlLoader<'a>
fn default() -> YamlLoader<'a>
Returns the “default value” for a type. Read more
source§impl<'a> MarkedEventReceiver for YamlLoader<'a>
impl<'a> MarkedEventReceiver for YamlLoader<'a>
Auto Trait Implementations§
impl<'a> Freeze for YamlLoader<'a>
impl<'a> !RefUnwindSafe for YamlLoader<'a>
impl<'a> !Send for YamlLoader<'a>
impl<'a> !Sync for YamlLoader<'a>
impl<'a> Unpin for YamlLoader<'a>
impl<'a> !UnwindSafe for YamlLoader<'a>
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