Trait MDLAssetResolver

Source
pub unsafe trait MDLAssetResolver: NSObjectProtocol {
    // Provided methods
    unsafe fn canResolveAssetNamed(&self, name: &NSString) -> bool
       where Self: Sized + Message { ... }
    unsafe fn resolveAssetNamed(&self, name: &NSString) -> Retained<NSURL>
       where Self: Sized + Message { ... }
}
Available on crate feature MDLAssetResolver only.
Expand description

Provided Methods§

Source

unsafe fn canResolveAssetNamed(&self, name: &NSString) -> bool
where Self: Sized + Message,

Source

unsafe fn resolveAssetNamed(&self, name: &NSString) -> Retained<NSURL>
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn MDLAssetResolver

Source§

const NAME: &'static str = "MDLAssetResolver"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn MDLAssetResolver

Implementations on Foreign Types§

Source§

impl<T> MDLAssetResolver for ProtocolObject<T>
where T: ?Sized + MDLAssetResolver,

Implementors§