MTLObjectPayloadBinding

Trait MTLObjectPayloadBinding 

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

Provided Methods§

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. 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 MTLObjectPayloadBinding

Implementations on Foreign Types§

Source§

impl<T> MTLObjectPayloadBinding for ProtocolObject<T>

Implementors§