pub enum AssetResolverEvent {
CanResolveAssetNamed(String),
ResolveAssetNamed(String),
}Expand description
Describes one MDLAssetResolver protocol request routed into Rust.
Variants§
CanResolveAssetNamed(String)
Asks whether the named asset can be resolved.
ResolveAssetNamed(String)
Asks for a URL string for the named asset.
Trait Implementations§
Source§impl Clone for AssetResolverEvent
impl Clone for AssetResolverEvent
Source§fn clone(&self) -> AssetResolverEvent
fn clone(&self) -> AssetResolverEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssetResolverEvent
impl Debug for AssetResolverEvent
Source§impl PartialEq for AssetResolverEvent
impl PartialEq for AssetResolverEvent
Source§fn eq(&self, other: &AssetResolverEvent) -> bool
fn eq(&self, other: &AssetResolverEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AssetResolverEvent
impl StructuralPartialEq for AssetResolverEvent
Auto Trait Implementations§
impl Freeze for AssetResolverEvent
impl RefUnwindSafe for AssetResolverEvent
impl Send for AssetResolverEvent
impl Sync for AssetResolverEvent
impl Unpin for AssetResolverEvent
impl UnsafeUnpin for AssetResolverEvent
impl UnwindSafe for AssetResolverEvent
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