pub struct UnstructuredGridPiece {
pub points: IOBuffer,
pub cells: Cells,
pub data: Attributes,
}
Expand description
UnstructuredGrid piece data.
Fields§
§points: IOBuffer
A contiguous array of coordinates (x,y,z) representing the points in the mesh.
cells: Cells
§data: Attributes
Implementations§
Source§impl UnstructuredGridPiece
impl UnstructuredGridPiece
Sourcepub fn num_points(&self) -> usize
pub fn num_points(&self) -> usize
Gives the number of points in this pieces.
This is distinct from points.len()
which gives the number of components, which is three
times num_points()
.
Trait Implementations§
Source§impl Clone for UnstructuredGridPiece
impl Clone for UnstructuredGridPiece
Source§fn clone(&self) -> UnstructuredGridPiece
fn clone(&self) -> UnstructuredGridPiece
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnstructuredGridPiece
impl Debug for UnstructuredGridPiece
Source§impl From<UnstructuredGridPiece> for DataSet
impl From<UnstructuredGridPiece> for DataSet
Source§fn from(p: UnstructuredGridPiece) -> DataSet
fn from(p: UnstructuredGridPiece) -> DataSet
Converts to this type from the input type.
Source§impl PartialEq for UnstructuredGridPiece
impl PartialEq for UnstructuredGridPiece
Source§impl PieceData for UnstructuredGridPiece
impl PieceData for UnstructuredGridPiece
Source§impl TryFrom<DataSet> for UnstructuredGridPiece
impl TryFrom<DataSet> for UnstructuredGridPiece
impl StructuralPartialEq for UnstructuredGridPiece
Auto Trait Implementations§
impl Freeze for UnstructuredGridPiece
impl RefUnwindSafe for UnstructuredGridPiece
impl Send for UnstructuredGridPiece
impl Sync for UnstructuredGridPiece
impl Unpin for UnstructuredGridPiece
impl UnwindSafe for UnstructuredGridPiece
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