#[repr(transparent)]pub struct Opaque<T>(_);
Expand description
Stores an opaque value.
This is meant to be used with FFI objects that are never interpreted by Rust code.
Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for Opaque<T>
impl<T> Send for Opaque<T> where
T: Send,
impl<T> !Sync for Opaque<T>
impl<T> Unpin for Opaque<T> where
T: Unpin,
impl<T> UnwindSafe for Opaque<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