Struct ocl_core::types::abs::DeviceId [] [src]

#[repr(C)]
pub struct DeviceId(_);

cl_device_id

Methods

impl DeviceId
[src]

[src]

Creates a new DeviceId wrapper from a raw pointer.

[src]

Returns an invalid DeviceId used for initializing data structures meant to be filled with valid ones.

[src]

Returns a pointer.

[src]

Returns the queried and parsed OpenCL version for this device.

Trait Implementations

impl Clone for DeviceId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DeviceId
[src]

impl Debug for DeviceId
[src]

[src]

Formats the value using the given formatter.

impl Hash for DeviceId
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for DeviceId
[src]

impl ClDeviceIdPtr for DeviceId
[src]

impl<'a> ClDeviceIdPtr for &'a DeviceId
[src]

impl Sync for DeviceId
[src]

impl Send for DeviceId
[src]

impl PartialEq<DeviceId> for DeviceId
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl ClVersions for DeviceId
[src]