pub struct SimdConfig {
pub max_width: usize,
pub bounds_check: bool,
pub cache_optimized: bool,
pub side_channel_protection: bool,
}Expand description
SIMD processing configuration for security and performance tuning
Fields§
§max_width: usizeMaximum SIMD width to use (for side-channel mitigation)
bounds_check: boolEnable bounds checking (slight performance cost)
cache_optimized: boolEnable cache-friendly data layouts
side_channel_protection: boolEnable side-channel protection measures
Implementations§
Source§impl SimdConfig
impl SimdConfig
Sourcepub fn security_optimized() -> Self
pub fn security_optimized() -> Self
Create a security-optimized configuration
Sourcepub fn performance_optimized() -> Self
pub fn performance_optimized() -> Self
Create a performance-optimized configuration
Trait Implementations§
Source§impl Clone for SimdConfig
impl Clone for SimdConfig
Source§fn clone(&self) -> SimdConfig
fn clone(&self) -> SimdConfig
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 SimdConfig
Source§impl Debug for SimdConfig
impl Debug for SimdConfig
Auto Trait Implementations§
impl Freeze for SimdConfig
impl RefUnwindSafe for SimdConfig
impl Send for SimdConfig
impl Sync for SimdConfig
impl Unpin for SimdConfig
impl UnsafeUnpin for SimdConfig
impl UnwindSafe for SimdConfig
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