Struct rs_lockfree::util::WrappedAlign64Type [−][src]
pub struct WrappedAlign64Type<T>(pub T);
Wrap struct into WrappedAlign64Type to make it 64bytes aligned.
Methods
impl<T> WrappedAlign64Type<T>
[src]
impl<T> WrappedAlign64Type<T>
pub fn as_ptr(&self) -> *const T
[src]
pub fn as_ptr(&self) -> *const T
pub fn as_mut_ptr(&self) -> *mut T
[src]
pub fn as_mut_ptr(&self) -> *mut T
pub fn get(&self) -> &T
[src]
pub fn get(&self) -> &T
pub fn get_mut(&mut self) -> &mut T
[src]
pub fn get_mut(&mut self) -> &mut T
Trait Implementations
impl<T> Default for WrappedAlign64Type<T> where
T: Default,
[src]
impl<T> Default for WrappedAlign64Type<T> where
T: Default,
impl<T> Deref for WrappedAlign64Type<T>
[src]
impl<T> Deref for WrappedAlign64Type<T>
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl<T> DerefMut for WrappedAlign64Type<T>
[src]
impl<T> DerefMut for WrappedAlign64Type<T>
impl<T> From<T> for WrappedAlign64Type<T>
[src]
impl<T> From<T> for WrappedAlign64Type<T>
Auto Trait Implementations
impl<T> Send for WrappedAlign64Type<T> where
T: Send,
impl<T> Send for WrappedAlign64Type<T> where
T: Send,
impl<T> Sync for WrappedAlign64Type<T> where
T: Sync,
impl<T> Sync for WrappedAlign64Type<T> where
T: Sync,