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

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

cl_platform_id

Methods

impl PlatformId
[src]

Creates a new PlatformId wrapper from a raw pointer.

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

Returns a pointer.

Returns the queried and parsed OpenCL version for this platform.

Trait Implementations

impl Clone for PlatformId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PlatformId
[src]

impl Debug for PlatformId
[src]

Formats the value using the given formatter.

impl Hash for PlatformId
[src]

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

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

impl Eq for PlatformId
[src]

impl ClPlatformIdPtr for PlatformId
[src]

impl Sync for PlatformId
[src]

impl Send for PlatformId
[src]

impl PartialEq<PlatformId> for PlatformId
[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 PlatformId
[src]