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 T
Returns 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 T
Returns a mutable raw pointer to the underlying data in this container.
pub unsafe fn from_ptr(ptr: *mut T) -> MutFixed<T>
[src]
pub unsafe fn from_ptr(ptr: *mut T) -> MutFixed<T>
Trait Implementations
impl Into<MutFixed<Layer>> for Layer
[src]
impl Into<MutFixed<Layer>> for Layer
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 T
Mutably 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>