pub struct CpuImpl {
pub inner: Pin<Box<dyn Any>>,
pub get_flags: fn(this: &CpuImpl) -> CpuFlags,
pub force_flags: fn(this: &CpuImpl, flags: CpuFlags) -> i32,
pub get_count: fn(this: &CpuImpl) -> u32,
pub get_max_align: fn(this: &CpuImpl) -> u32,
pub get_vm_type: fn(this: &CpuImpl) -> CpuVm,
pub zero_denormals: fn(this: &CpuImpl, enable: bool) -> i32,
}Fields§
§inner: Pin<Box<dyn Any>>§get_flags: fn(this: &CpuImpl) -> CpuFlags§force_flags: fn(this: &CpuImpl, flags: CpuFlags) -> i32§get_count: fn(this: &CpuImpl) -> u32§get_max_align: fn(this: &CpuImpl) -> u32§get_vm_type: fn(this: &CpuImpl) -> CpuVm§zero_denormals: fn(this: &CpuImpl, enable: bool) -> i32Implementations§
Trait Implementations§
Source§impl Interface for CpuImpl
impl Interface for CpuImpl
Source§unsafe fn make_native(&self) -> *mut CInterface
unsafe fn make_native(&self) -> *mut CInterface
Return a C-compatible spa_interface pointer Read more
Source§unsafe fn free_native(cpu: *mut CInterface)
unsafe fn free_native(cpu: *mut CInterface)
Return a C-compatible spa_interface pointer Read more
fn type_id(&self) -> TypeIdwhere
Self: 'static,
impl Send for CpuImpl
impl Sync for CpuImpl
Auto Trait Implementations§
impl Freeze for CpuImpl
impl !RefUnwindSafe for CpuImpl
impl Unpin for CpuImpl
impl !UnwindSafe for CpuImpl
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