pub struct vtkShortArray(/* private fields */);Expand description
dynamic, self-adjusting array of short
vtkShortArray is an array of values of type short. It provides methods for insertion and retrieval of values and will automatically resize itself to hold new data.
The C++ standard does not define the exact size of the short type, so use of this type directly is discouraged. If an array of 16 bit integers is needed, prefer vtkTypeInt16Array to this class.
Implementations§
Source§impl vtkShortArray
impl vtkShortArray
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkShortArray wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkShortArray
impl Default for vtkShortArray
Auto Trait Implementations§
impl Freeze for vtkShortArray
impl RefUnwindSafe for vtkShortArray
impl !Send for vtkShortArray
impl !Sync for vtkShortArray
impl Unpin for vtkShortArray
impl UnwindSafe for vtkShortArray
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