pub struct vtkMarshalContext(/* private fields */);Expand description
Shared context used by vtkSerializer and vtkDeserializer
This class is capable of tracking dependencies among VTK objects, their states and preventing recursion when the VTK serialization classes are used.
It also provides centralized storage and tracking of objects in a weak object map, recording ownership of objects using a strong object map, hashing the contents of blobs to minimize data redundancies in the state and finally an API to coordinate the registration and removal of states, objects and blobs.
Implementations§
Source§impl vtkMarshalContext
impl vtkMarshalContext
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkMarshalContext wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkMarshalContext
impl Default for vtkMarshalContext
Auto Trait Implementations§
impl Freeze for vtkMarshalContext
impl RefUnwindSafe for vtkMarshalContext
impl !Send for vtkMarshalContext
impl !Sync for vtkMarshalContext
impl Unpin for vtkMarshalContext
impl UnwindSafe for vtkMarshalContext
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