Struct popcorn::frameworks::native::Memory
[−]
[src]
pub struct Memory { /* fields omitted */ }
Methods
impl Memory
[src]
fn alloc(size: usize) -> Memory
fn len(&self) -> usize
fn as_ptr(&self) -> *const u8
fn as_mut_ptr(&mut self) -> *mut u8
fn try_as_slice<T: Sized + Copy>(&self) -> Result<&[T], Error>
fn try_as_mut_slice<T: Sized + Copy>(&mut self) -> Result<&mut [T], Error>
fn copy_from<T: Sized + Copy>(&mut self, vs: &[T]) -> Result<(), Error>
fn into_vec<T: Sized + Copy>(self) -> Result<Vec<T>, Error>
Trait Implementations
impl Debug for Memory
[src]
impl Clone for Memory
[src]
fn clone(&self) -> Memory
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