pub struct Forget(/* private fields */);Expand description
Simply releases the held object without deallocating it.
Trait Implementations§
Source§impl 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 Freeze for Forget
impl RefUnwindSafe for Forget
impl !Send for Forget
impl !Sync for Forget
impl Unpin for Forget
impl UnwindSafe for Forget
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