pub enum BeamProfileSpec {
Point,
Gaussian {
sigma_nm: f64,
},
Disc {
radius_nm: f64,
},
Rectangle {
width_y_nm: f64,
width_z_nm: f64,
},
}Expand description
[electron.beam.profile]: the lateral profile of the beam on the front
face, selected by model; lengths in nm.
[electron.beam.profile]
model = "gaussian" # sigma_nm: standard deviation of each of y and z
sigma_nm = 5.0
# model = "disc" # radius_nm: uniform in area
# model = "rectangle" # width_y_nm, width_z_nm: full widths, uniformSee BeamProfile for the laws.
Variants§
Point
Every primary lands at the landing point.
Gaussian
Gaussian spot.
Disc
Uniform disc.
Rectangle
Uniform rectangle centred on the landing point.
Trait Implementations§
Source§impl Clone for BeamProfileSpec
impl Clone for BeamProfileSpec
Source§fn clone(&self) -> BeamProfileSpec
fn clone(&self) -> BeamProfileSpec
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 moreimpl Copy for BeamProfileSpec
Source§impl Debug for BeamProfileSpec
impl Debug for BeamProfileSpec
Source§impl<'de> Deserialize<'de> for BeamProfileSpec
impl<'de> Deserialize<'de> for BeamProfileSpec
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 BeamProfileSpec
impl PartialEq for BeamProfileSpec
Source§impl Serialize for BeamProfileSpec
impl Serialize for BeamProfileSpec
impl StructuralPartialEq for BeamProfileSpec
Auto Trait Implementations§
impl Freeze for BeamProfileSpec
impl RefUnwindSafe for BeamProfileSpec
impl Send for BeamProfileSpec
impl Sync for BeamProfileSpec
impl Unpin for BeamProfileSpec
impl UnsafeUnpin for BeamProfileSpec
impl UnwindSafe for BeamProfileSpec
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