pub struct MagicRef<T: 'static> {
pub data: &'static mut T,
pub handle: MagicHandle,
/* private fields */
}
Fields
data: &'static mut T
handle: MagicHandle
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for MagicRef<T>where
T: RefUnwindSafe,
impl<T> !Send for MagicRef<T>
impl<T> !Sync for MagicRef<T>
impl<T> Unpin for MagicRef<T>
impl<T> !UnwindSafe for MagicRef<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more