pub struct ScenarioCertificate {
pub kind: ScenarioKind,
pub source_count: usize,
pub total_source_amplitude: f64,
pub amplitude_per_source: f64,
pub element_spacing_wavelengths: ElementSpacingWavelengths,
pub aperture_policy: Option<AperturePolicy>,
}Expand description
Evidence describing a named scenario and its discrete approximation.
Fields§
§kind: ScenarioKindNamed builder used to create the problem.
source_count: usizeNumber of ideal sources created.
total_source_amplitude: f64Requested coherent amplitude sum for array/aperture builders.
Pair builders report the sum of their two equal per-source amplitudes.
amplitude_per_source: f64Equal amplitude carried by every source.
element_spacing_wavelengths: ElementSpacingWavelengthsWavelength-relative neighbour spacing for discrete approximations.
aperture_policy: Option<AperturePolicy>Policy applied to the reported spacing.
Trait Implementations§
Source§impl Clone for ScenarioCertificate
impl Clone for ScenarioCertificate
Source§fn clone(&self) -> ScenarioCertificate
fn clone(&self) -> ScenarioCertificate
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 ScenarioCertificate
Source§impl Debug for ScenarioCertificate
impl Debug for ScenarioCertificate
Source§impl PartialEq for ScenarioCertificate
impl PartialEq for ScenarioCertificate
impl StructuralPartialEq for ScenarioCertificate
Auto Trait Implementations§
impl Freeze for ScenarioCertificate
impl RefUnwindSafe for ScenarioCertificate
impl Send for ScenarioCertificate
impl Sync for ScenarioCertificate
impl Unpin for ScenarioCertificate
impl UnsafeUnpin for ScenarioCertificate
impl UnwindSafe for ScenarioCertificate
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