pub struct vtkWeakReference(/* private fields */);Expand description
Utility class to hold a weak reference to a vtkObject.
Simple Set(…)/Get(…) interface. Used in numpy support to provide a reference to a vtkObject without preventing it from being collected.
Implementations§
Source§impl vtkWeakReference
impl vtkWeakReference
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkWeakReference wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkWeakReference
impl Default for vtkWeakReference
Auto Trait Implementations§
impl Freeze for vtkWeakReference
impl RefUnwindSafe for vtkWeakReference
impl !Send for vtkWeakReference
impl !Sync for vtkWeakReference
impl Unpin for vtkWeakReference
impl UnwindSafe for vtkWeakReference
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