Trait objc2_metal::MTLObjectPayloadBinding

source ·
pub unsafe trait MTLObjectPayloadBinding: MTLBinding + IsRetainable {
    // Provided methods
    unsafe fn objectPayloadAlignment(&self) -> NSUInteger
       where Self: Sized + Message { ... }
    unsafe fn objectPayloadDataSize(&self) -> NSUInteger
       where Self: Sized + Message { ... }
}
Available on crate feature MTLArgument only.

Provided Methods§

source

unsafe fn objectPayloadAlignment(&self) -> NSUInteger
where Self: Sized + Message,

source

unsafe fn objectPayloadDataSize(&self) -> NSUInteger
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn MTLObjectPayloadBinding

source§

const NAME: &'static str = "MTLObjectPayloadBinding"

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 MTLObjectPayloadBinding

Implementations on Foreign Types§

source§

impl<T> MTLObjectPayloadBinding for ProtocolObject<T>

Implementors§