Struct bytes::alloc::MemRef [] [src]

pub struct MemRef {
    // some fields omitted
}

Methods

impl MemRef

fn new(mem: *mut Mem) -> MemRef

fn none() -> MemRef

fn is_none(&self) -> bool

fn ptr(&self) -> *mut u8

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

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

Trait Implementations

impl Clone for MemRef

fn clone(&self) -> MemRef

1.0.0fn clone_from(&mut self, source: &Self)

impl Drop for MemRef

fn drop(&mut self)

impl Send for MemRef

impl Sync for MemRef