pub enum Block {
PolyData(PolyData),
ImageData(ImageData),
UnstructuredGrid(UnstructuredGrid),
RectilinearGrid(RectilinearGrid),
StructuredGrid(StructuredGrid),
MultiBlock(MultiBlockDataSet),
}Expand description
A block in a MultiBlockDataSet, which can hold different dataset types.
Variants§
PolyData(PolyData)
ImageData(ImageData)
UnstructuredGrid(UnstructuredGrid)
RectilinearGrid(RectilinearGrid)
StructuredGrid(StructuredGrid)
MultiBlock(MultiBlockDataSet)
Trait Implementations§
Source§impl From<MultiBlockDataSet> for Block
impl From<MultiBlockDataSet> for Block
Source§fn from(mb: MultiBlockDataSet) -> Self
fn from(mb: MultiBlockDataSet) -> Self
Converts to this type from the input type.
Source§impl From<RectilinearGrid> for Block
impl From<RectilinearGrid> for Block
Source§fn from(rg: RectilinearGrid) -> Self
fn from(rg: RectilinearGrid) -> Self
Converts to this type from the input type.
Source§impl From<StructuredGrid> for Block
impl From<StructuredGrid> for Block
Source§fn from(sg: StructuredGrid) -> Self
fn from(sg: StructuredGrid) -> Self
Converts to this type from the input type.
Source§impl From<UnstructuredGrid> for Block
impl From<UnstructuredGrid> for Block
Source§fn from(ug: UnstructuredGrid) -> Self
fn from(ug: UnstructuredGrid) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more