MTLCounter

Trait MTLCounter 

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

A descriptor for a single counter.

See also Apple’s documentation

Provided Methods§

Source

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. 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 MTLCounter
where T: ?Sized + Message + MTLCounter,

Implementations on Foreign Types§

Source§

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

Implementors§