Struct objc_foundation::NSData
[−]
[src]
pub struct NSData { /* fields omitted */ }
Trait Implementations
impl Message for NSData
[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
impl INSObject for NSData
[src]
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 PartialEq for NSData
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for NSData
[src]
impl Hash for NSData
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for NSData
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more