[][src]Struct objc_foundation::NSMutableData

pub struct NSMutableData { /* fields omitted */ }

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 hash_code(&self) -> usize[src]

fn is_equal<T>(&self, other: &T) -> bool where
    T: INSObject
[src]

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]

type Output = NSData

fn copy(&self) -> ShareId<Self::Output>[src]

impl INSMutableCopying for NSMutableData[src]

type Output = NSMutableData

fn mutable_copy(&self) -> Id<Self::Output>[src]

impl PartialEq<NSMutableData> for NSMutableData[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for NSMutableData[src]

impl Debug for NSMutableData[src]

impl Hash for NSMutableData[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

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]

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]

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]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]