pub struct YamlAsset(_);
Implementations
sourceimpl YamlAsset
impl YamlAsset
pub fn get(&self) -> &Value
pub fn deserialize<T>(&self) -> Result<T, String>where
T: DeserializeOwned,
Auto Trait Implementations
impl RefUnwindSafe for YamlAsset
impl Send for YamlAsset
impl Sync for YamlAsset
impl Unpin for YamlAsset
impl UnwindSafe for YamlAsset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more