Struct napi_h::CleanupEnvHook
source · pub struct CleanupEnvHook<T: 'static>(/* private fields */);
Expand description
Created by Env::add_env_cleanup_hook
And used by Env::remove_env_cleanup_hook
Trait Implementations§
source§impl<T: Clone + 'static> Clone for CleanupEnvHook<T>
impl<T: Clone + 'static> Clone for CleanupEnvHook<T>
source§fn clone(&self) -> CleanupEnvHook<T>
fn clone(&self) -> CleanupEnvHook<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<T: Copy + 'static> Copy for CleanupEnvHook<T>
Auto Trait Implementations§
impl<T> Freeze for CleanupEnvHook<T>
impl<T> !RefUnwindSafe for CleanupEnvHook<T>
impl<T> !Send for CleanupEnvHook<T>
impl<T> !Sync for CleanupEnvHook<T>
impl<T> Unpin for CleanupEnvHook<T>
impl<T> !UnwindSafe for CleanupEnvHook<T>
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