pub struct ExposureVolume {
pub name: String,
pub shape: VolumeShape,
pub depth_lo_m: f64,
pub depth_hi_m: f64,
pub offset_y_m: f64,
pub offset_z_m: f64,
}Expand description
A target volume: a lateral shape over a depth range depth_lo_m <= x < depth_hi_m, centred at lateral offset (offset_y_m, offset_z_m) from the
beam axis. Deposits exist only inside the target, so a volume extending
beyond the film collects only the part inside it.
Fields§
§name: StringLabel in the outputs.
shape: VolumeShapeLateral shape.
depth_lo_m: f64Lower depth, m.
depth_hi_m: f64Upper depth (excluded), m.
offset_y_m: f64Lateral centre y, m.
offset_z_m: f64Lateral centre z, m.
Trait Implementations§
Source§impl Clone for ExposureVolume
impl Clone for ExposureVolume
Source§fn clone(&self) -> ExposureVolume
fn clone(&self) -> ExposureVolume
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExposureVolume
impl Debug for ExposureVolume
Source§impl<'de> Deserialize<'de> for ExposureVolume
impl<'de> Deserialize<'de> for ExposureVolume
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExposureVolume
impl PartialEq for ExposureVolume
Source§impl Serialize for ExposureVolume
impl Serialize for ExposureVolume
impl StructuralPartialEq for ExposureVolume
Auto Trait Implementations§
impl Freeze for ExposureVolume
impl RefUnwindSafe for ExposureVolume
impl Send for ExposureVolume
impl Sync for ExposureVolume
impl Unpin for ExposureVolume
impl UnsafeUnpin for ExposureVolume
impl UnwindSafe for ExposureVolume
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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