[−][src]Struct objc_foundation::NSValue
Trait Implementations
impl<T> INSObject for NSValue<T> where
T: Any,
[src]
T: Any,
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 NSValue<T> where
T: Any,
[src]
T: Any,
impl<T> INSValue for NSValue<T> where
T: Any + Copy + Encode,
[src]
T: Any + Copy + Encode,
type Value = T
fn value(&self) -> Self::Value
[src]
fn encoding(&self) -> Encoding
[src]
fn from_value(value: Self::Value) -> Id<Self>
[src]
impl<T> Message for NSValue<T>
[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,