pub struct NSMutableArray { /* private fields */ }Expand description
Declares the programmatic interface to objects that manage a modifiable
array of objects. This class adds insertion and deletion operations to the
basic array-handling behavior inherited from NSArray.
Implementations§
Source§impl NSMutableArray
impl NSMutableArray
Sourcepub fn new() -> NSMutableArray
pub fn new() -> NSMutableArray
Initializes a newly allocated array.
Sourcepub fn add_object(&mut self, object: &impl Raw)
pub fn add_object(&mut self, object: &impl Raw)
Inserts a given object at the end of the array.
Trait Implementations§
Source§impl Drop for NSMutableArray
impl Drop for NSMutableArray
Source§impl Raw for NSMutableArray
impl Raw for NSMutableArray
Auto Trait Implementations§
impl Freeze for NSMutableArray
impl RefUnwindSafe for NSMutableArray
impl !Send for NSMutableArray
impl !Sync for NSMutableArray
impl Unpin for NSMutableArray
impl UnsafeUnpin for NSMutableArray
impl UnwindSafe for NSMutableArray
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