pub enum PointerCoercion {
ReifyFnPointer(Safety),
UnsafeFnPointer,
ClosureFnPointer(Safety),
MutToConstPointer,
ArrayToPointer,
UnsizePointee,
}🔬This is a nightly-only experimental API. (
custom_mir)Variants§
ReifyFnPointer(Safety)
🔬This is a nightly-only experimental API. (
custom_mir)UnsafeFnPointer
🔬This is a nightly-only experimental API. (
custom_mir)ClosureFnPointer(Safety)
🔬This is a nightly-only experimental API. (
custom_mir)MutToConstPointer
🔬This is a nightly-only experimental API. (
custom_mir)ArrayToPointer
🔬This is a nightly-only experimental API. (
custom_mir)UnsizePointee
🔬This is a nightly-only experimental API. (
custom_mir)Auto Trait Implementations§
impl Freeze for PointerCoercion
impl RefUnwindSafe for PointerCoercion
impl Send for PointerCoercion
impl Sync for PointerCoercion
impl Unpin for PointerCoercion
impl UnsafeUnpin for PointerCoercion
impl UnwindSafe for PointerCoercion
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