pub struct Ssimulacra2StripConfig {
pub halo_rows: usize,
pub inner: Ssimulacra2Config,
}Expand description
Configuration for strip-wise SSIMULACRA2 computation.
Fields§
§halo_rows: usizeNumber of rows above and below each strip’s “interior” that are processed but excluded from the per-pixel reductions.
inner: Ssimulacra2ConfigUnderlying SIMD configuration for the per-strip ops.
Implementations§
Source§impl Ssimulacra2StripConfig
impl Ssimulacra2StripConfig
Sourcepub fn with_halo_rows(halo_rows: usize) -> Self
pub fn with_halo_rows(halo_rows: usize) -> Self
Create a strip config with the given halo size (rows).
Sourcepub fn with_inner(self, inner: Ssimulacra2Config) -> Self
pub fn with_inner(self, inner: Ssimulacra2Config) -> Self
Set the underlying SIMD configuration.
Trait Implementations§
Source§impl Clone for Ssimulacra2StripConfig
impl Clone for Ssimulacra2StripConfig
Source§fn clone(&self) -> Ssimulacra2StripConfig
fn clone(&self) -> Ssimulacra2StripConfig
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 Ssimulacra2StripConfig
Source§impl Debug for Ssimulacra2StripConfig
impl Debug for Ssimulacra2StripConfig
Auto Trait Implementations§
impl Freeze for Ssimulacra2StripConfig
impl RefUnwindSafe for Ssimulacra2StripConfig
impl Send for Ssimulacra2StripConfig
impl Sync for Ssimulacra2StripConfig
impl Unpin for Ssimulacra2StripConfig
impl UnsafeUnpin for Ssimulacra2StripConfig
impl UnwindSafe for Ssimulacra2StripConfig
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