pub struct NsObject(/* private fields */);
Methods from Deref<Target = NsObjectRef>§
pub fn conforms_to_protocol<T>(&self) -> Result<bool, String>
Trait Implementations§
source§impl AsMut<NsObjectRef> for NsObject
impl AsMut<NsObjectRef> for NsObject
source§fn as_mut(&mut self) -> &mut NsObjectRef
fn as_mut(&mut self) -> &mut NsObjectRef
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<NsObjectRef> for NsObject
impl AsRef<NsObjectRef> for NsObject
source§fn as_ref(&self) -> &NsObjectRef
fn as_ref(&self) -> &NsObjectRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<NsObjectRef> for NsObject
impl Borrow<NsObjectRef> for NsObject
source§fn borrow(&self) -> &NsObjectRef
fn borrow(&self) -> &NsObjectRef
Immutably borrows from an owned value. Read more
source§impl BorrowMut<NsObjectRef> for NsObject
impl BorrowMut<NsObjectRef> for NsObject
source§fn borrow_mut(&mut self) -> &mut NsObjectRef
fn borrow_mut(&mut self) -> &mut NsObjectRef
Mutably borrows from an owned value. Read more
source§impl Deref for NsObject
impl Deref for NsObject
§type Target = NsObjectRef
type Target = NsObjectRef
The resulting type after dereferencing.
source§fn deref(&self) -> &NsObjectRef
fn deref(&self) -> &NsObjectRef
Dereferences the value.
source§impl DerefMut for NsObject
impl DerefMut for NsObject
source§fn deref_mut(&mut self) -> &mut NsObjectRef
fn deref_mut(&mut self) -> &mut NsObjectRef
Mutably dereferences the value.
source§impl ForeignType for NsObject
impl ForeignType for NsObject
source§impl From<AccelerationStructureDescriptor> for NsObject
impl From<AccelerationStructureDescriptor> for NsObject
source§fn from(item: AccelerationStructureDescriptor) -> Self
fn from(item: AccelerationStructureDescriptor) -> Self
Converts to this type from the input type.
source§impl From<AccelerationStructureGeometryDescriptor> for NsObject
impl From<AccelerationStructureGeometryDescriptor> for NsObject
source§fn from(item: AccelerationStructureGeometryDescriptor) -> Self
fn from(item: AccelerationStructureGeometryDescriptor) -> Self
Converts to this type from the input type.
source§impl From<IntersectionFunctionTableDescriptor> for NsObject
impl From<IntersectionFunctionTableDescriptor> for NsObject
source§fn from(item: IntersectionFunctionTableDescriptor) -> Self
fn from(item: IntersectionFunctionTableDescriptor) -> Self
Converts to this type from the input type.
source§impl From<VisibleFunctionTableDescriptor> for NsObject
impl From<VisibleFunctionTableDescriptor> for NsObject
source§fn from(item: VisibleFunctionTableDescriptor) -> Self
fn from(item: VisibleFunctionTableDescriptor) -> Self
Converts to this type from the input type.
impl Send for NsObject
impl Sync for NsObject
Auto Trait Implementations§
impl Freeze for NsObject
impl RefUnwindSafe for NsObject
impl Unpin for NsObject
impl UnwindSafe for NsObject
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)