pub struct YAMLScript { /* private fields */ }
Expand description
A wrapper around libyamlscript.
Implementations§
Source§impl YAMLScript
impl YAMLScript
Sourcepub fn new() -> Result<Self, Error>
pub fn new() -> Result<Self, Error>
Create a new instance of a YAMLScript loader.
§Errors
This function may return an error if we fail to open the library
Namely, it returns Error::NotFound
if the library cannot be found.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YAMLScript
impl RefUnwindSafe for YAMLScript
impl !Send for YAMLScript
impl !Sync for YAMLScript
impl Unpin for YAMLScript
impl UnwindSafe for YAMLScript
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