objc_foundation

Trait INSMutableData

Source
pub trait INSMutableData: INSData {
    // Provided methods
    fn bytes_mut(&mut self) -> &mut [u8]  { ... }
    fn set_len(&mut self, len: usize) { ... }
    fn append(&mut self, bytes: &[u8]) { ... }
    fn replace_range(&mut self, range: Range<usize>, bytes: &[u8]) { ... }
    fn set_bytes(&mut self, bytes: &[u8]) { ... }
}

Provided Methods§

Source

fn bytes_mut(&mut self) -> &mut [u8]

Source

fn set_len(&mut self, len: usize)

Source

fn append(&mut self, bytes: &[u8])

Source

fn replace_range(&mut self, range: Range<usize>, bytes: &[u8])

Source

fn set_bytes(&mut self, bytes: &[u8])

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§