pub struct SimdDetector { /* private fields */ }Available on x86 or x86-64 only.
Expand description
SIMD capability detector for the CPU
Implementations§
Source§impl SimdDetector
impl SimdDetector
Sourcepub fn recommended_simd_width<T: Transcendental>() -> usize
pub fn recommended_simd_width<T: Transcendental>() -> usize
Returns the maximum recommended SIMD width for the current platform
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimdDetector
impl RefUnwindSafe for SimdDetector
impl Send for SimdDetector
impl Sync for SimdDetector
impl Unpin for SimdDetector
impl UnsafeUnpin for SimdDetector
impl UnwindSafe for SimdDetector
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