pub struct Forget(_);Expand description
Simply releases the held object without deallocating it.
Trait Implementations
sourceimpl PtrWrapper for Forget
impl PtrWrapper for Forget
fn new(ptr: NonNull<godot_object>) -> Self
fn as_non_null(&self) -> NonNull<godot_object>
fn as_ptr(&self) -> *mut godot_object
impl Copy for Forget
Auto Trait Implementations
impl RefUnwindSafe for Forget
impl !Send for Forget
impl !Sync for Forget
impl Unpin for Forget
impl UnwindSafe for Forget
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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