Struct oxygengine_core::assets::protocols::yaml::YamlAssetProtocol
source · [−]pub struct YamlAssetProtocol;
Trait Implementations
sourceimpl AssetProtocol for YamlAssetProtocol
impl AssetProtocol for YamlAssetProtocol
fn name(&self) -> &str
fn on_load(&mut self, data: Vec<u8>) -> AssetLoadResult
fn on_load_with_path(&mut self, _path: &str, data: Vec<u8>) -> AssetLoadResult
fn on_resume(&mut self, _meta: Meta, _list: &[(&str, &Asset)]) -> AssetLoadResult
fn on_unload(&mut self, _asset: &Asset) -> Option<Vec<AssetVariant>>
fn on_register(&mut self)
fn on_unregister(&mut self)
Auto Trait Implementations
impl RefUnwindSafe for YamlAssetProtocol
impl Send for YamlAssetProtocol
impl Sync for YamlAssetProtocol
impl Unpin for YamlAssetProtocol
impl UnwindSafe for YamlAssetProtocol
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