Struct windows::Win32::Media::DirectShow::IAMCameraControl
pub struct IAMCameraControl(/* private fields */);
Implementations§
§impl IAMCameraControl
impl IAMCameraControl
pub unsafe fn GetRange( &self, property: i32, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflags: *mut i32 ) -> Result<()>
pub unsafe fn Set(&self, property: i32, lvalue: i32, flags: i32) -> Result<()>
pub unsafe fn Get( &self, property: i32, lvalue: *mut i32, flags: *mut i32 ) -> Result<()>
Trait Implementations§
§impl Clone for IAMCameraControl
impl Clone for IAMCameraControl
§fn clone(&self) -> IAMCameraControl
fn clone(&self) -> IAMCameraControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IAMCameraControl
impl Debug for IAMCameraControl
§impl From<&IAMCameraControl> for &IUnknown
impl From<&IAMCameraControl> for &IUnknown
§fn from(value: &IAMCameraControl) -> Self
fn from(value: &IAMCameraControl) -> Self
Converts to this type from the input type.
§impl From<IAMCameraControl> for IUnknown
impl From<IAMCameraControl> for IUnknown
§fn from(value: IAMCameraControl) -> Self
fn from(value: IAMCameraControl) -> Self
Converts to this type from the input type.
§impl Interface for IAMCameraControl
impl Interface for IAMCameraControl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IAMCameraControl
impl PartialEq for IAMCameraControl
§fn eq(&self, other: &IAMCameraControl) -> bool
fn eq(&self, other: &IAMCameraControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IAMCameraControl
impl StructuralPartialEq for IAMCameraControl
Auto Trait Implementations§
impl RefUnwindSafe for IAMCameraControl
impl !Send for IAMCameraControl
impl !Sync for IAMCameraControl
impl Unpin for IAMCameraControl
impl UnwindSafe for IAMCameraControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more