pub unsafe trait MDLObjectContainerComponent: MDLComponent + NSFastEnumeration {
// Provided methods
unsafe fn addObject(&self, object: &MDLObject)
where Self: Sized + Message { ... }
unsafe fn removeObject(&self, object: &MDLObject)
where Self: Sized + Message { ... }
unsafe fn objectAtIndexedSubscript(
&self,
index: NSUInteger,
) -> Retained<MDLObject>
where Self: Sized + Message { ... }
unsafe fn count(&self) -> NSUInteger
where Self: Sized + Message { ... }
unsafe fn objects(&self) -> Retained<NSArray<MDLObject>>
where Self: Sized + Message { ... }
}Available on crate feature
MDLTypes only.Expand description
Provided Methods§
unsafe fn addObject(&self, object: &MDLObject)
Available on crate feature
MDLObject only.unsafe fn removeObject(&self, object: &MDLObject)
Available on crate feature
MDLObject only.unsafe fn objectAtIndexedSubscript( &self, index: NSUInteger, ) -> Retained<MDLObject>
Available on crate feature
MDLObject only.unsafe fn count(&self) -> NSUInteger
unsafe fn objects(&self) -> Retained<NSArray<MDLObject>>
Available on crate feature
MDLObject only.Trait Implementations§
Source§impl ProtocolType for dyn MDLObjectContainerComponent
impl ProtocolType for dyn MDLObjectContainerComponent
impl<T> ImplementedBy<T> for dyn MDLObjectContainerComponent
Implementations on Foreign Types§
impl<T> MDLObjectContainerComponent for ProtocolObject<T>where
T: ?Sized + MDLObjectContainerComponent,
Implementors§
impl MDLObjectContainerComponent for MDLObjectContainer
Available on crate feature
MDLObject only.