[−][src]Struct dynamic_ocl::device::ExecutionCapabilities
OpenCL device execution capabilities
Methods
impl ExecutionCapabilities
[src]
pub const EXEC_KERNEL: ExecutionCapabilities
[src]
The device can execute OpenCL kernels
pub const EXEC_NATIVE_KERNEL: ExecutionCapabilities
[src]
The device can execute native host kernels
pub const unsafe fn new(value: cl_device_exec_capabilities) -> 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_exec_capabilities
[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<ExecutionCapabilities> for ExecutionCapabilities
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitAndAssign<ExecutionCapabilities> for ExecutionCapabilities
[src]
fn bitand_assign(&mut self, rhs: Self)
[src]
impl BitOr<ExecutionCapabilities> for ExecutionCapabilities
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
impl BitOrAssign<ExecutionCapabilities> for ExecutionCapabilities
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXor<ExecutionCapabilities> for ExecutionCapabilities
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self
[src]
impl BitXorAssign<ExecutionCapabilities> for ExecutionCapabilities
[src]
fn bitxor_assign(&mut self, rhs: Self)
[src]
impl Clone for ExecutionCapabilities
[src]
fn clone(&self) -> ExecutionCapabilities
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ExecutionCapabilities
[src]
impl Debug for ExecutionCapabilities
[src]
impl Eq for ExecutionCapabilities
[src]
impl FromOclInfo for ExecutionCapabilities
[src]
impl Hash for ExecutionCapabilities
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ExecutionCapabilities> for ExecutionCapabilities
[src]
fn eq(&self, other: &ExecutionCapabilities) -> bool
[src]
fn ne(&self, other: &ExecutionCapabilities) -> bool
[src]
impl StructuralEq for ExecutionCapabilities
[src]
impl StructuralPartialEq for ExecutionCapabilities
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExecutionCapabilities
impl Send for ExecutionCapabilities
impl Sync for ExecutionCapabilities
impl Unpin for ExecutionCapabilities
impl UnwindSafe for ExecutionCapabilities
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,