pub struct Emitted {
pub code: Code,
pub text: String,
pub accounted: Vec<(NuclideId, f64)>,
pub dropped: Vec<Dropped>,
pub reparsed: bool,
}Expand description
Cards emitted for one dialect.
Fields§
§code: CodeDialect these cards belong to.
text: StringCard text, ready to paste into a deck.
accounted: Vec<(NuclideId, f64)>Mass [g] accounted per emitted nuclide, in Material order.
dropped: Vec<Dropped>Nuclides skipped with reasons.
reparsed: boolWhether text was verified by re-parsing with the code’s own reader.
Only MCNP and ALARA have material readers in this workspace.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Emitted
impl RefUnwindSafe for Emitted
impl Send for Emitted
impl Sync for Emitted
impl Unpin for Emitted
impl UnsafeUnpin for Emitted
impl UnwindSafe for Emitted
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