[−][src]Trait objc_foundation::INSArray
Associated Types
Loading content...Provided methods
fn count(&self) -> usize
fn object_at(&self, index: usize) -> &Self::Item
fn first_object(&self) -> Option<&Self::Item>
fn last_object(&self) -> Option<&Self::Item>
ⓘImportant traits for NSEnumerator<'a, T>fn object_enumerator(&self) -> NSEnumerator<Self::Item>
ⓘImportant traits for NSEnumerator<'a, T>
fn from_vec(vec: Vec<Id<Self::Item, Self::Own>>) -> Id<Self>
fn objects_in_range(&self, range: Range<usize>) -> Vec<&Self::Item>
fn to_vec(&self) -> Vec<&Self::Item>
fn into_vec(array: Id<Self>) -> Vec<Id<Self::Item, Self::Own>>
fn mut_object_at(&mut self, index: usize) -> &mut Self::Item where
Self: INSArray<Own = Owned>,
Self: INSArray<Own = Owned>,
fn shared_object_at(&self, index: usize) -> ShareId<Self::Item> where
Self: INSArray<Own = Shared>,
Self: INSArray<Own = Shared>,
fn from_slice(slice: &[ShareId<Self::Item>]) -> Id<Self> where
Self: INSArray<Own = Shared>,
Self: INSArray<Own = Shared>,
fn to_shared_vec(&self) -> Vec<ShareId<Self::Item>> where
Self: INSArray<Own = Shared>,
Self: INSArray<Own = Shared>,
Implementors
impl<T, O> INSArray for NSArray<T, O> where
T: INSObject,
O: Ownership,
[src]
T: INSObject,
O: Ownership,
type Item = T
type Own = O
fn count(&self) -> usize
[src]
fn object_at(&self, index: usize) -> &Self::Item
[src]
fn first_object(&self) -> Option<&Self::Item>
[src]
fn last_object(&self) -> Option<&Self::Item>
[src]
ⓘImportant traits for NSEnumerator<'a, T>fn object_enumerator(&self) -> NSEnumerator<Self::Item>
[src]
ⓘImportant traits for NSEnumerator<'a, T>
fn from_vec(vec: Vec<Id<Self::Item, Self::Own>>) -> Id<Self>
[src]
fn objects_in_range(&self, range: Range<usize>) -> Vec<&Self::Item>
[src]
fn to_vec(&self) -> Vec<&Self::Item>
[src]
fn into_vec(array: Id<Self>) -> Vec<Id<Self::Item, Self::Own>>
[src]
fn mut_object_at(&mut self, index: usize) -> &mut Self::Item where
Self: INSArray<Own = Owned>,
[src]
Self: INSArray<Own = Owned>,
fn shared_object_at(&self, index: usize) -> ShareId<Self::Item> where
Self: INSArray<Own = Shared>,
[src]
Self: INSArray<Own = Shared>,
fn from_slice(slice: &[ShareId<Self::Item>]) -> Id<Self> where
Self: INSArray<Own = Shared>,
[src]
Self: INSArray<Own = Shared>,
fn to_shared_vec(&self) -> Vec<ShareId<Self::Item>> where
Self: INSArray<Own = Shared>,
[src]
Self: INSArray<Own = Shared>,
impl<T, O> INSArray for NSMutableArray<T, O> where
T: INSObject,
O: Ownership,
[src]
T: INSObject,
O: Ownership,
type Item = T
type Own = O
fn count(&self) -> usize
[src]
fn object_at(&self, index: usize) -> &Self::Item
[src]
fn first_object(&self) -> Option<&Self::Item>
[src]
fn last_object(&self) -> Option<&Self::Item>
[src]
ⓘImportant traits for NSEnumerator<'a, T>fn object_enumerator(&self) -> NSEnumerator<Self::Item>
[src]
ⓘImportant traits for NSEnumerator<'a, T>
fn from_vec(vec: Vec<Id<Self::Item, Self::Own>>) -> Id<Self>
[src]
fn objects_in_range(&self, range: Range<usize>) -> Vec<&Self::Item>
[src]
fn to_vec(&self) -> Vec<&Self::Item>
[src]
fn into_vec(array: Id<Self>) -> Vec<Id<Self::Item, Self::Own>>
[src]
fn mut_object_at(&mut self, index: usize) -> &mut Self::Item where
Self: INSArray<Own = Owned>,
[src]
Self: INSArray<Own = Owned>,
fn shared_object_at(&self, index: usize) -> ShareId<Self::Item> where
Self: INSArray<Own = Shared>,
[src]
Self: INSArray<Own = Shared>,
fn from_slice(slice: &[ShareId<Self::Item>]) -> Id<Self> where
Self: INSArray<Own = Shared>,
[src]
Self: INSArray<Own = Shared>,
fn to_shared_vec(&self) -> Vec<ShareId<Self::Item>> where
Self: INSArray<Own = Shared>,
[src]
Self: INSArray<Own = Shared>,