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

pub struct DeviceId(_);

cl_device_id

Methods

impl DeviceId
[src]

Only call this when passing a newly created pointer directly from clCreate.... Do not use this to clone or copy.

Only call this when passing a copied pointer such as from an clGet*****Info function.

Returns a pointer.

Returns the looked up and parsed OpenCL version for this device.

Trait Implementations

impl Clone for DeviceId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DeviceId
[src]

impl Debug for DeviceId
[src]

Formats the value using the given formatter.

impl Hash for DeviceId
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

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]

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

This method tests for !=.

impl ClVersions for DeviceId
[src]