Struct vtkio::model::Cells [−][src]
Cells with variable types.
This struct corresponds to the Cells
XML element or the CELLS and CELL_TYPES entries in the
legacy VTK format.
Fields
cell_verts: VertexNumbers
Cell vertices specified through offsets or simply as a contiguous array.
See VertexNumbers
for details.
types: Vec<CellType>
The type of each cell represented in cell_verts
.
Implementations
impl Cells
[src]
pub fn num_verts(&self) -> usize
[src]
Returns the total number of vertices among all the cells.
pub fn num_cells(&self) -> usize
[src]
Returns the total number of cells represented.
Trait Implementations
impl Clone for Cells
[src]
impl Debug for Cells
[src]
impl Default for Cells
[src]
impl PartialEq<Cells> for Cells
[src]
impl StructuralPartialEq for Cells
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cells
impl Send for Cells
impl Sync for Cells
impl Unpin for Cells
impl UnwindSafe for Cells
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,