jit_cpu_t

Struct jit_cpu_t 

Source
#[repr(C, align(4))]
pub struct jit_cpu_t { pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>, pub __bindgen_padding_0: u8, }

Fields§

§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>§__bindgen_padding_0: u8

Implementations§

Source§

impl jit_cpu_t

Source

pub fn fpu(&self) -> jit_uint32_t

Source

pub fn set_fpu(&mut self, val: jit_uint32_t)

Source

pub fn cmpxchg8b(&self) -> jit_uint32_t

Source

pub fn set_cmpxchg8b(&mut self, val: jit_uint32_t)

Source

pub fn cmov(&self) -> jit_uint32_t

Source

pub fn set_cmov(&mut self, val: jit_uint32_t)

Source

pub fn mmx(&self) -> jit_uint32_t

Source

pub fn set_mmx(&mut self, val: jit_uint32_t)

Source

pub fn sse(&self) -> jit_uint32_t

Source

pub fn set_sse(&mut self, val: jit_uint32_t)

Source

pub fn sse2(&self) -> jit_uint32_t

Source

pub fn set_sse2(&mut self, val: jit_uint32_t)

Source

pub fn sse3(&self) -> jit_uint32_t

Source

pub fn set_sse3(&mut self, val: jit_uint32_t)

Source

pub fn pclmulqdq(&self) -> jit_uint32_t

Source

pub fn set_pclmulqdq(&mut self, val: jit_uint32_t)

Source

pub fn ssse3(&self) -> jit_uint32_t

Source

pub fn set_ssse3(&mut self, val: jit_uint32_t)

Source

pub fn fma(&self) -> jit_uint32_t

Source

pub fn set_fma(&mut self, val: jit_uint32_t)

Source

pub fn cmpxchg16b(&self) -> jit_uint32_t

Source

pub fn set_cmpxchg16b(&mut self, val: jit_uint32_t)

Source

pub fn sse4_1(&self) -> jit_uint32_t

Source

pub fn set_sse4_1(&mut self, val: jit_uint32_t)

Source

pub fn sse4_2(&self) -> jit_uint32_t

Source

pub fn set_sse4_2(&mut self, val: jit_uint32_t)

Source

pub fn movbe(&self) -> jit_uint32_t

Source

pub fn set_movbe(&mut self, val: jit_uint32_t)

Source

pub fn popcnt(&self) -> jit_uint32_t

Source

pub fn set_popcnt(&mut self, val: jit_uint32_t)

Source

pub fn aes(&self) -> jit_uint32_t

Source

pub fn set_aes(&mut self, val: jit_uint32_t)

Source

pub fn avx(&self) -> jit_uint32_t

Source

pub fn set_avx(&mut self, val: jit_uint32_t)

Source

pub fn lahf(&self) -> jit_uint32_t

Source

pub fn set_lahf(&mut self, val: jit_uint32_t)

Source

pub fn new_bitfield_1( fpu: jit_uint32_t, cmpxchg8b: jit_uint32_t, cmov: jit_uint32_t, mmx: jit_uint32_t, sse: jit_uint32_t, sse2: jit_uint32_t, sse3: jit_uint32_t, pclmulqdq: jit_uint32_t, ssse3: jit_uint32_t, fma: jit_uint32_t, cmpxchg16b: jit_uint32_t, sse4_1: jit_uint32_t, sse4_2: jit_uint32_t, movbe: jit_uint32_t, popcnt: jit_uint32_t, aes: jit_uint32_t, avx: jit_uint32_t, lahf: jit_uint32_t, ) -> __BindgenBitfieldUnit<[u8; 3]>

Trait Implementations§

Source§

impl Clone for jit_cpu_t

Source§

fn clone(&self) -> jit_cpu_t

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for jit_cpu_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for jit_cpu_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.