Struct rtic::RacyCell [−][src]
#[repr(transparent)]pub struct RacyCell<T>(_);
Expand description
Internal replacement for static mut T
Implementations
impl<T> RacyCell<T>
[src]
impl<T> RacyCell<T>
[src]pub unsafe fn get_mut_unchecked(&self) -> &mut T
[src]
pub unsafe fn get_mut_unchecked(&self) -> &mut T
[src]Get &mut T
pub unsafe fn get_unchecked(&self) -> &T
[src]
pub unsafe fn get_unchecked(&self) -> &T
[src]Get &T
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self