#[doc(hidden)]#[repr(transparent)]pub struct CustomOwner(NonNull<Custom>);🔬This is a nightly-only experimental API. (
core_io_internals)Tuple Fields§
§0: NonNull<Custom>🔬This is a nightly-only experimental API. (
core_io_internals)Implementations§
Source§impl CustomOwner
impl CustomOwner
Source#[doc(hidden)]pub unsafe fn from_raw(custom: NonNull<Custom>) -> CustomOwner
🔬This is a nightly-only experimental API. (core_io_internals)
#[doc(hidden)]pub unsafe fn from_raw(custom: NonNull<Custom>) -> CustomOwner
core_io_internals)§Safety
- The
outer_dropof the providedcustommust be safe to call exactly once.
pub fn into_raw(self) -> NonNull<Custom>
🔬This is a nightly-only experimental API. (
core_io_internals)fn custom_ref(&self) -> &Custom
🔬This is a nightly-only experimental API. (
core_io #154046)fn custom_mut(&mut self) -> &mut Custom
🔬This is a nightly-only experimental API. (
core_io #154046)