Struct opencv::core::PlatformInfo
source · [−]pub struct PlatformInfo { /* private fields */ }
Implementations
sourceimpl PlatformInfo
impl PlatformInfo
pub fn default() -> PlatformInfo
sourcepub unsafe fn new(id: *mut c_void) -> Result<PlatformInfo>
pub unsafe fn new(id: *mut c_void) -> Result<PlatformInfo>
Parameters
- id: pointer cl_platform_id (cl_platform_id*)
pub fn copy(i: &PlatformInfo) -> Result<PlatformInfo>
pub fn copy_mut(i: &mut PlatformInfo) -> PlatformInfo
Trait Implementations
sourceimpl Boxed for PlatformInfo
impl Boxed for PlatformInfo
sourceimpl Default for PlatformInfo
impl Default for PlatformInfo
sourceimpl Drop for PlatformInfo
impl Drop for PlatformInfo
sourceimpl PlatformInfoTrait for PlatformInfo
impl PlatformInfoTrait for PlatformInfo
fn as_raw_mut_PlatformInfo(&mut self) -> *mut c_void
sourceimpl PlatformInfoTraitConst for PlatformInfo
impl PlatformInfoTraitConst for PlatformInfo
fn as_raw_PlatformInfo(&self) -> *const c_void
fn name(&self) -> Result<String>
fn vendor(&self) -> Result<String>
fn version_major(&self) -> Result<i32>
fn version_minor(&self) -> Result<i32>
fn device_number(&self) -> Result<i32>
fn get_device(&self, device: &mut Device, d: i32) -> Result<()>
fn empty(&self) -> Result<bool>
impl Send for PlatformInfo
impl VectorElement for PlatformInfo where
Vector<PlatformInfo>: VectorExtern<PlatformInfo>,
Auto Trait Implementations
impl RefUnwindSafe for PlatformInfo
impl !Sync for PlatformInfo
impl Unpin for PlatformInfo
impl UnwindSafe for PlatformInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more