pub struct FPConfig(/* private fields */);Expand description
A bitfield representing floating point mode support
Implementations§
Source§impl FPConfig
impl FPConfig
pub const DENORM: FPConfig
pub const INF_NAN: FPConfig
pub const ROUND_TO_NEAREST: FPConfig
pub const ROUND_TO_ZERO: FPConfig
pub const ROUND_TO_INF: FPConfig
pub const FMA: FPConfig
pub const CORRECTLY_ROUNDED_DIVIDE_SQRT: FPConfig
pub const SOFT_FLOAT: FPConfig
Sourcepub const unsafe fn new(value: cl_device_fp_config) -> Self
pub const unsafe fn new(value: cl_device_fp_config) -> Self
Create a new wrapped bitfield from the given raw bitfield value.
§Safety
This function can be used to create bitfields representing non-existent flags. You must ensure that the resulting bitfield is legal anywhere it’s used.
Sourcepub const fn raw(self) -> cl_device_fp_config
pub const fn raw(self) -> cl_device_fp_config
Unwrap this bitfield into the underlying value
Trait Implementations§
Source§impl BitAndAssign for FPConfig
impl BitAndAssign for FPConfig
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for FPConfig
impl BitOrAssign for FPConfig
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for FPConfig
impl BitXorAssign for FPConfig
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl FromOclInfo for FPConfig
impl FromOclInfo for FPConfig
impl Copy for FPConfig
impl Eq for FPConfig
impl StructuralPartialEq for FPConfig
Auto Trait Implementations§
impl Freeze for FPConfig
impl RefUnwindSafe for FPConfig
impl Send for FPConfig
impl Sync for FPConfig
impl Unpin for FPConfig
impl UnsafeUnpin for FPConfig
impl UnwindSafe for FPConfig
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