pub struct ElectronBeamSpec {
pub energy_ev: f64,
pub tilt_deg: f64,
pub azimuth_deg: f64,
pub landing_nm: [f64; 2],
pub profile: Option<BeamProfileSpec>,
pub divergence: Option<DivergenceSpec>,
}Expand description
[electron.beam].
Fields§
§energy_ev: f64Kinetic energy of the primaries, eV: the vacuum energy with
boundary = "step-barrier", the energy inside the first layer
otherwise.
tilt_deg: f64Polar angle from the surface normal, degrees, in [0, 90).
azimuth_deg: f64Azimuth of the incidence plane, degrees.
landing_nm: [f64; 2]Landing point [y, z] of the beam centre on the front face, nm
(default [0, 0]).
profile: Option<BeamProfileSpec>Lateral profile about the landing point (default: a point).
divergence: Option<DivergenceSpec>Angular spread about the nominal direction; the ion beam’s
[beam.divergence] laws (DivergenceSpec), with the same inward
conditioning and width limit (default: none).
Trait Implementations§
Source§impl Clone for ElectronBeamSpec
impl Clone for ElectronBeamSpec
Source§fn clone(&self) -> ElectronBeamSpec
fn clone(&self) -> ElectronBeamSpec
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 ElectronBeamSpec
impl Debug for ElectronBeamSpec
Source§impl<'de> Deserialize<'de> for ElectronBeamSpec
impl<'de> Deserialize<'de> for ElectronBeamSpec
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 ElectronBeamSpec
impl PartialEq for ElectronBeamSpec
Source§impl Serialize for ElectronBeamSpec
impl Serialize for ElectronBeamSpec
impl StructuralPartialEq for ElectronBeamSpec
Auto Trait Implementations§
impl Freeze for ElectronBeamSpec
impl RefUnwindSafe for ElectronBeamSpec
impl Send for ElectronBeamSpec
impl Sync for ElectronBeamSpec
impl Unpin for ElectronBeamSpec
impl UnsafeUnpin for ElectronBeamSpec
impl UnwindSafe for ElectronBeamSpec
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