pub trait MutPointable<E> {
    // Required methods
    fn as_mut_ptr(&mut self) -> *mut E;
    fn len(&self) -> usize;
}
Expand description

Represents a type that I can get a mutable pointer to and a number of elements that it points to:

Required Methods§

source

fn as_mut_ptr(&mut self) -> *mut E

Hands out a mutable pointer to the underlying memory:

source

fn len(&self) -> usize

The number of the elements pointed to by MutPointable::as_mut_ptr

Implementations on Foreign Types§

source§

impl<E> MutPointable<E> for Vec<E>

source§

fn len(&self) -> usize

source§

fn as_mut_ptr(&mut self) -> *mut E

Implementors§