Trait objc2_metal::MTLCounterSet

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

Provided Methods§

source

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

source

unsafe fn counters(&self) -> Retained<NSArray<ProtocolObject<dyn MTLCounter>>>
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn MTLCounterSet

source§

const NAME: &'static str = "MTLCounterSet"

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

Implementations on Foreign Types§

source§

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

Implementors§