Struct bytes::alloc::MemRef
[−]
[src]
pub struct MemRef { /* fields omitted */ }
Methods
impl MemRef
[src]
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
[src]
fn clone(&self) -> MemRef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more