pub struct vtkCharArray(/* private fields */);Expand description
dynamic, self-adjusting array of char
vtkCharArray is an array of values of type char. It provides methods for insertion and retrieval of values and will automatically resize itself to hold new data.
@warning This class should be avoided in favor of either vtkSignedCharArray or vtkUnsignedCharArray. On some systems the underlying data will be stored as unsigned chars and others it will be stored as signed chars. Additionally, saving this array out and then reading it back in it could be transformed to a vtkSignedCharArray or vtkUnsignedCharArray and if that happens the result of a vtkCharArray::SafeDownCast() of that pointer will be a null pointer.
@sa vtkSignedCharArray vtkUnsignedCharArray
Implementations§
Source§impl vtkCharArray
impl vtkCharArray
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkCharArray wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkCharArray
impl Default for vtkCharArray
Auto Trait Implementations§
impl Freeze for vtkCharArray
impl RefUnwindSafe for vtkCharArray
impl !Send for vtkCharArray
impl !Sync for vtkCharArray
impl Unpin for vtkCharArray
impl UnwindSafe for vtkCharArray
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