objc_foundation

Trait INSData

Source
pub trait INSData: INSObject {
    // Provided methods
    fn len(&self) -> usize { ... }
    fn bytes(&self) -> &[u8]  { ... }
    fn with_bytes(bytes: &[u8]) -> Id<Self> { ... }
    fn from_vec(bytes: Vec<u8>) -> Id<Self> { ... }
}

Provided Methods§

Source

fn len(&self) -> usize

Source

fn bytes(&self) -> &[u8]

Source

fn with_bytes(bytes: &[u8]) -> Id<Self>

Source

fn from_vec(bytes: Vec<u8>) -> Id<Self>

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§