Struct limine_protocol::Request
source · [−]#[repr(transparent)]pub struct Request<T>(pub UnsafeCell<T>);Expand description
A Request type, which wraps the internal request in an unsafe cell, due to the possibility it may be mutated by things outside rust. However, it automatically derefences to the internal type for ergonomics.
Tuple Fields
0: UnsafeCell<T>Trait Implementations
impl<T> Sync for Request<T>
Auto Trait Implementations
impl<T> !RefUnwindSafe for Request<T>
impl<T> Send for Request<T> where
T: Send,
impl<T> Unpin for Request<T> where
T: Unpin,
impl<T> UnwindSafe for Request<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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