pub struct MeshCut {
pub assign: Vec<u32>,
pub grid: CellGrid,
pub point_cell: Vec<u32>,
}Expand description
Assignment, the grid it was cut on, and the bin of every point.
One binning feeds the cut. A later frame that keeps this cut does not bin again.
Fields§
§assign: Vec<u32>Domain of each cell.
grid: CellGridBins and point weights.
point_cell: Vec<u32>Bin of each point, in point order.
Auto Trait Implementations§
impl Freeze for MeshCut
impl RefUnwindSafe for MeshCut
impl Send for MeshCut
impl Sync for MeshCut
impl Unpin for MeshCut
impl UnsafeUnpin for MeshCut
impl UnwindSafe for MeshCut
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> 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