pub struct ObjectPayloadBinding(/* private fields */);Expand description
Object payload binding information.
C++ equivalent: MTL::ObjectPayloadBinding
Implementations§
Source§impl ObjectPayloadBinding
impl ObjectPayloadBinding
Sourcepub fn access(&self) -> BindingAccess
pub fn access(&self) -> BindingAccess
Get the access mode.
Sourcepub fn is_argument(&self) -> bool
pub fn is_argument(&self) -> bool
Check if this is an argument.
Sourcepub fn binding_type(&self) -> BindingType
pub fn binding_type(&self) -> BindingType
Get the binding type.
Sourcepub fn object_payload_alignment(&self) -> UInteger
pub fn object_payload_alignment(&self) -> UInteger
Get the object payload alignment.
C++ equivalent: NS::UInteger objectPayloadAlignment() const
Sourcepub fn object_payload_data_size(&self) -> UInteger
pub fn object_payload_data_size(&self) -> UInteger
Get the object payload data size.
C++ equivalent: NS::UInteger objectPayloadDataSize() const
Trait Implementations§
Source§impl Clone for ObjectPayloadBinding
impl Clone for ObjectPayloadBinding
Source§impl Drop for ObjectPayloadBinding
impl Drop for ObjectPayloadBinding
Source§impl Referencing for ObjectPayloadBinding
impl Referencing for ObjectPayloadBinding
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for ObjectPayloadBinding
impl Sync for ObjectPayloadBinding
Auto Trait Implementations§
impl Freeze for ObjectPayloadBinding
impl RefUnwindSafe for ObjectPayloadBinding
impl Unpin for ObjectPayloadBinding
impl UnwindSafe for ObjectPayloadBinding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more