pub struct MeshAssetProtocol;Trait Implementations
sourceimpl AssetProtocol for MeshAssetProtocol
impl AssetProtocol for MeshAssetProtocol
fn name(&self) -> &str
fn on_load_with_path(&mut self, path: &str, data: Vec<u8>) -> AssetLoadResult
fn on_load(&mut self, _data: Vec<u8>) -> AssetLoadResult
fn on_resume(
&mut self,
_meta: Option<Box<dyn Any + Send + Sync + 'static, Global>>,
_list: &[(&str, &Asset)]
) -> AssetLoadResult
fn on_unload(&mut self, _asset: &Asset) -> Option<Vec<AssetVariant, Global>>
fn on_register(&mut self)
fn on_unregister(&mut self)
Auto Trait Implementations
impl RefUnwindSafe for MeshAssetProtocol
impl Send for MeshAssetProtocol
impl Sync for MeshAssetProtocol
impl Unpin for MeshAssetProtocol
impl UnwindSafe for MeshAssetProtocol
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more