Trait objc2_metal::MTLCounter

source ·
pub unsafe trait MTLCounter: NSObjectProtocol + IsRetainable {
    // Provided method
    unsafe fn name(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
}
Available on crate feature MTLCounters only.

Provided Methods§

source

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

Trait Implementations§

source§

impl ProtocolType for dyn MTLCounter

source§

const NAME: &'static str = "MTLCounter"

The name of the Objective-C protocol that this type represents.
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 MTLCounter
where T: ?Sized + Message + MTLCounter,

Implementations on Foreign Types§

source§

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

Implementors§