[−][src]Struct objc_foundation::NSArray
Trait Implementations
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> INSFastEnumeration for NSArray<T, O> where
T: INSObject,
O: Ownership,
[src]
T: INSObject,
O: Ownership,
type Item = T
ⓘImportant traits for NSFastEnumerator<'a, C>fn enumerator(&self) -> NSFastEnumerator<Self>
[src]
ⓘImportant traits for NSFastEnumerator<'a, C>
impl<T, O> INSObject for NSArray<T, O> where
T: INSObject,
O: Ownership,
[src]
T: INSObject,
O: Ownership,
fn class() -> &'static Class
[src]
fn hash_code(&self) -> usize
[src]
fn is_equal<T>(&self, other: &T) -> bool where
T: INSObject,
[src]
T: INSObject,
fn description(&self) -> ShareId<NSString>
[src]
fn is_kind_of(&self, cls: &Class) -> bool
[src]
fn new() -> Id<Self>
[src]
impl<T> INSCopying for NSArray<T, Shared> where
T: INSObject,
[src]
T: INSObject,
impl<T> INSMutableCopying for NSArray<T, Shared> where
T: INSObject,
[src]
T: INSObject,
type Output = NSMutableSharedArray<T>
fn mutable_copy(&self) -> Id<Self::Output>
[src]
impl<T, O> Index<usize> for NSArray<T, O> where
T: INSObject,
O: Ownership,
[src]
T: INSObject,
O: Ownership,
impl<T, O> Message for NSArray<T, O>
[src]
unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A
) -> Result<R, MessageError> where
A: MessageArguments,
R: Any,
[src]
&self,
sel: Sel,
args: A
) -> Result<R, MessageError> where
A: MessageArguments,
R: Any,
Sends a message to self with the given selector and arguments. Read more
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError> where
A: EncodeArguments,
R: Encode,
[src]
A: EncodeArguments,
R: Encode,
Verifies that the argument and return types match the encoding of the method for the given selector. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,