[−][src]Struct objc_foundation::NSMutableData
Trait Implementations
impl INSData for NSMutableData
[src]
fn len(&self) -> usize
[src]
fn bytes(&self) -> &[u8]
[src]
fn with_bytes(bytes: &[u8]) -> Id<Self>
[src]
fn from_vec(bytes: Vec<u8>) -> Id<Self>
[src]
impl INSMutableData for NSMutableData
[src]
fn bytes_mut(&mut self) -> &mut [u8]
[src]
fn set_len(&mut self, len: usize)
[src]
fn append(&mut self, bytes: &[u8])
[src]
fn replace_range(&mut self, range: Range<usize>, bytes: &[u8])
[src]
fn set_bytes(&mut self, bytes: &[u8])
[src]
impl INSObject for NSMutableData
[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 INSCopying for NSMutableData
[src]
impl INSMutableCopying for NSMutableData
[src]
type Output = NSMutableData
fn mutable_copy(&self) -> Id<Self::Output>
[src]
impl PartialEq<NSMutableData> for NSMutableData
[src]
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Eq for NSMutableData
[src]
impl Debug for NSMutableData
[src]
impl Hash for NSMutableData
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
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 Message for NSMutableData
[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
impl Send for NSMutableData
impl Sync for NSMutableData
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,