[][src]Struct vtkio::model::Cells

pub struct Cells {
    pub num_cells: u32,
    pub vertices: Vec<u32>,
}

Cell data. Used in PolyData and UnstructuredGrid datasets. A cell is just geometric object referencing some points like a polygon or tetrahedron. In general it could be one of VERTICES, LINES, POLYGONS, TRIANGLE_STRIPS or CELLS as defined by the VTK standard.

Fields

num_cells: u32

Total number of cells contained in the vertices vector.

vertices: Vec<u32>

Each cell in vertices is of the form: n i_1 ... i_n.

Trait Implementations

impl Clone for Cells[src]

impl PartialEq<Cells> for Cells[src]

impl Debug for Cells[src]

impl StructuralPartialEq for Cells[src]

Auto Trait Implementations

impl Send for Cells

impl Sync for Cells

impl Unpin for Cells

impl UnwindSafe for Cells

impl RefUnwindSafe for Cells

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]