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