Trait objc2_metal::MTLCommandBufferEncoderInfo

source ·
pub unsafe trait MTLCommandBufferEncoderInfo: NSObjectProtocol + IsRetainable {
    // Provided methods
    unsafe fn label(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn debugSignposts(&self) -> Retained<NSArray<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn errorState(&self) -> MTLCommandEncoderErrorState
       where Self: Sized + Message { ... }
}
Available on crate feature MTLCommandBuffer only.

Provided Methods§

source

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

source

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

source

unsafe fn errorState(&self) -> MTLCommandEncoderErrorState
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn MTLCommandBufferEncoderInfo

source§

const NAME: &'static str = "MTLCommandBufferEncoderInfo"

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 MTLCommandBufferEncoderInfo

Implementations on Foreign Types§

source§

impl<T> MTLCommandBufferEncoderInfo for ProtocolObject<T>

Implementors§