struct Payload {
ptr: NonNull<()>,
}Fields§
§ptr: NonNull<()>Implementations§
Source§impl Payload
impl Payload
unsafe fn new_unchecked<T>(v: T) -> Payload
unsafe fn get_unchecked<T>(self) -> T
Trait Implementations§
Auto Trait Implementations§
impl Forget for Payload
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Unpin for Payload
impl UnsafeUnpin for Payload
impl UnwindSafe for Payload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more