pub struct TargetCapabilities {
pub has_fpu: bool,
pub has_simd: bool,
pub has_aes: bool,
pub has_crc: bool,
pub cache_line_size: usize,
pub num_cores: usize,
}Expand description
Target capabilities
Fields§
§has_fpu: boolHas hardware floating point
has_simd: boolHas SIMD instructions
has_aes: boolHas hardware AES
has_crc: boolHas hardware CRC
cache_line_size: usizeCache line size in bytes
num_cores: usizeNumber of cores
Trait Implementations§
Source§impl Clone for TargetCapabilities
impl Clone for TargetCapabilities
Source§fn clone(&self) -> TargetCapabilities
fn clone(&self) -> TargetCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetCapabilities
impl Debug for TargetCapabilities
Source§impl Default for TargetCapabilities
impl Default for TargetCapabilities
impl Copy for TargetCapabilities
Auto Trait Implementations§
impl Freeze for TargetCapabilities
impl RefUnwindSafe for TargetCapabilities
impl Send for TargetCapabilities
impl Sync for TargetCapabilities
impl Unpin for TargetCapabilities
impl UnsafeUnpin for TargetCapabilities
impl UnwindSafe for TargetCapabilities
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