[][src]Struct dynamic_ocl::device::FPConfig

#[repr(transparent)]
pub struct FPConfig(_);

A bitfield representing floating point mode support

Methods

impl FPConfig[src]

pub const DENORM: FPConfig[src]

pub const INF_NAN: FPConfig[src]

pub const ROUND_TO_NEAREST: FPConfig[src]

pub const ROUND_TO_ZERO: FPConfig[src]

pub const ROUND_TO_INF: FPConfig[src]

pub const FMA: FPConfig[src]

pub const CORRECTLY_ROUNDED_DIVIDE_SQRT: FPConfig[src]

pub const SOFT_FLOAT: FPConfig[src]

pub const unsafe fn new(value: cl_device_fp_config) -> Self[src]

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.

pub const fn raw(self) -> cl_device_fp_config[src]

Unwrap this bitfield into the underlying value

pub const fn contains(self, other: Self) -> bool[src]

Check whether this bitfield is equal to or a superset of a given bitfield

Trait Implementations

impl BitAnd<FPConfig> for FPConfig[src]

type Output = Self

The resulting type after applying the & operator.

impl BitAndAssign<FPConfig> for FPConfig[src]

impl BitOr<FPConfig> for FPConfig[src]

type Output = Self

The resulting type after applying the | operator.

impl BitOrAssign<FPConfig> for FPConfig[src]

impl BitXor<FPConfig> for FPConfig[src]

type Output = Self

The resulting type after applying the ^ operator.

impl BitXorAssign<FPConfig> for FPConfig[src]

impl Clone for FPConfig[src]

impl Copy for FPConfig[src]

impl Debug for FPConfig[src]

impl Eq for FPConfig[src]

impl FromOclInfo for FPConfig[src]

impl Hash for FPConfig[src]

impl PartialEq<FPConfig> for FPConfig[src]

impl StructuralEq for FPConfig[src]

impl StructuralPartialEq for FPConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.