Struct genet_sdk::fixed::MutFixed [−][src]
#[repr(C)]pub struct MutFixed<T> { /* fields omitted */ }
A mutable fixed memory location.
Methods
impl<T> MutFixed<T>[src]
impl<T> MutFixed<T>pub fn new(data: T) -> MutFixed<T>[src]
pub fn new(data: T) -> MutFixed<T>Creates a new MutFixed containing the given value.
pub fn as_ptr(&self) -> *const T[src]
pub fn as_ptr(&self) -> *const TReturns a raw pointer to the underlying data in this container.
pub fn as_mut_ptr(&self) -> *mut T[src]
pub fn as_mut_ptr(&self) -> *mut TReturns a mutable raw pointer to the underlying data in this container.
Trait Implementations
impl<T> Send for MutFixed<T> where
T: Send, [src]
impl<T> Send for MutFixed<T> where
T: Send, impl<T> DerefMut for MutFixed<T>[src]
impl<T> DerefMut for MutFixed<T>ⓘImportant traits for &'a mut Rfn deref_mut(&mut self) -> &mut T[src]
ⓘImportant traits for &'a mut R
fn deref_mut(&mut self) -> &mut TMutably dereferences the value.
impl<T> Debug for MutFixed<T>[src]
impl<T> Debug for MutFixed<T>fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<T> Deref for MutFixed<T>[src]
impl<T> Deref for MutFixed<T>