pub struct vtkUnsignedShortArray(/* private fields */);Expand description
dynamic, self-adjusting array of unsigned short
vtkUnsignedShortArray is an array of values of type unsigned 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 unsigned short type, so use of this type directly is discouraged. If an array of 16 bit unsigned integers is needed, prefer vtkTypeUInt16Array to this class.
Implementations§
Source§impl vtkUnsignedShortArray
impl vtkUnsignedShortArray
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkUnsignedShortArray wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkUnsignedShortArray
impl Default for vtkUnsignedShortArray
Auto Trait Implementations§
impl Freeze for vtkUnsignedShortArray
impl RefUnwindSafe for vtkUnsignedShortArray
impl !Send for vtkUnsignedShortArray
impl !Sync for vtkUnsignedShortArray
impl Unpin for vtkUnsignedShortArray
impl UnwindSafe for vtkUnsignedShortArray
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