Struct opencv::core::Device[][src]

pub struct Device { /* fields omitted */ }

Implementations

Parameters
  • d: OpenCL handle (cl_device_id). clRetainDevice() is called on success.

Note: Ownership of the passed device is passed to OpenCV on success. The caller should additionally call clRetainDevice on it if it intends to continue using the device.

Trait Implementations

Wrap the specified raw pointer Read more

Return an the underlying raw pointer while consuming this wrapper. Read more

Return the underlying raw pointer. Read more

Return the underlying mutable raw pointer Read more

Forwards to infallible Self::default()

deprecated, use isExtensionSupported() method (probably with “cl_khr_subgroups” value)

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.