pub struct WeakObjectRef(/* private fields */);Expand description
Object3D.parent, stored weakly so a child holding its parent does not keep
the parent alive (three.js’ parent is a strong reference, but JS has a GC
and we do not).
Implementations§
Trait Implementations§
Source§impl Clone for WeakObjectRef
impl Clone for WeakObjectRef
Source§impl Debug for WeakObjectRef
impl Debug for WeakObjectRef
Auto Trait Implementations§
impl !RefUnwindSafe for WeakObjectRef
impl !Send for WeakObjectRef
impl !Sync for WeakObjectRef
impl !UnwindSafe for WeakObjectRef
impl Freeze for WeakObjectRef
impl Unpin for WeakObjectRef
impl UnsafeUnpin for WeakObjectRef
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