pub struct Group {
pub number: Option<i64>,
pub name: String,
pub status: Status,
pub label: Option<Label>,
pub volume: Volume,
}Expand description
Volume of a group of labels (Volumes::grouped).
Fields§
§number: Option<i64>The cell, material or universe number; None for a single label.
name: StringThe number, or the label in MCNP terms (Model::describe).
status: StatusStatus::Inside for groups with a number.
label: Option<Label>The label, for a group that is one label (no number: gaps,
overlaps…, and every group by GroupBy::Label).
volume: VolumeTrait Implementations§
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Forget for Group
impl Freeze for Group
impl Move for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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