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