Struct static_ref::RefMut
[−]
[src]
pub struct RefMut<'a, T> where
T: 'static, { /* fields omitted */ }&'a mut T that points into static data
Methods
impl<'a, T> RefMut<'a, T>[src]
unsafe fn new(ref_mut: &'a mut T) -> Self
Asserts that ref_mut points into static data
Trait Implementations
impl<'a, T> StaticRef<T> for RefMut<'a, T>[src]
impl<'a, T> Deref for RefMut<'a, T>[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<'a, T> DerefMut for RefMut<'a, T>[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value