pub enum SourceTileConstants {
Point {
constants: PointTileConstants,
estimate: SourcePhaseEstimate,
},
ForwardPlane {
constants: PlaneTileConstants,
estimate: SourcePhaseEstimate,
},
}Expand description
Prepared constants and phase estimate for one source on one tile.
Variants§
Point
Spherical point-source constants.
Fields
§
constants: PointTileConstantsConstants consumed by the Tensor lowering.
§
estimate: SourcePhaseEstimatePreflight estimate for this source and tile.
ForwardPlane
Forward plane-wave constants.
Fields
§
constants: PlaneTileConstantsConstants consumed by the Tensor lowering.
§
estimate: SourcePhaseEstimatePreflight estimate for this source and tile.
Implementations§
Source§impl SourceTileConstants
impl SourceTileConstants
Sourcepub fn estimate(self) -> SourcePhaseEstimate
pub fn estimate(self) -> SourcePhaseEstimate
Returns the preflight phase estimate.
Trait Implementations§
Source§impl Clone for SourceTileConstants
impl Clone for SourceTileConstants
Source§fn clone(&self) -> SourceTileConstants
fn clone(&self) -> SourceTileConstants
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 SourceTileConstants
Source§impl Debug for SourceTileConstants
impl Debug for SourceTileConstants
Source§impl PartialEq for SourceTileConstants
impl PartialEq for SourceTileConstants
impl StructuralPartialEq for SourceTileConstants
Auto Trait Implementations§
impl Freeze for SourceTileConstants
impl RefUnwindSafe for SourceTileConstants
impl Send for SourceTileConstants
impl Sync for SourceTileConstants
impl Unpin for SourceTileConstants
impl UnsafeUnpin for SourceTileConstants
impl UnwindSafe for SourceTileConstants
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