Struct windows::Media::Devices::RegionsOfInterestControl
pub struct RegionsOfInterestControl(/* private fields */);
Implementations§
§impl RegionsOfInterestControl
impl RegionsOfInterestControl
pub fn MaxRegions(&self) -> Result<u32>
pub fn SetRegionsAsync<P0>(&self, regions: P0) -> Result<IAsyncAction>where
P0: IntoParam<IIterable<RegionOfInterest>>,
pub fn SetRegionsWithLockAsync<P0>(
&self,
regions: P0,
lockvalues: bool
) -> Result<IAsyncAction>where
P0: IntoParam<IIterable<RegionOfInterest>>,
pub fn ClearRegionsAsync(&self) -> Result<IAsyncAction>
pub fn AutoFocusSupported(&self) -> Result<bool>
pub fn AutoWhiteBalanceSupported(&self) -> Result<bool>
pub fn AutoExposureSupported(&self) -> Result<bool>
Trait Implementations§
§impl Clone for RegionsOfInterestControl
impl Clone for RegionsOfInterestControl
§fn clone(&self) -> RegionsOfInterestControl
fn clone(&self) -> RegionsOfInterestControl
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 RegionsOfInterestControl
impl Debug for RegionsOfInterestControl
§impl From<&RegionsOfInterestControl> for &IInspectable
impl From<&RegionsOfInterestControl> for &IInspectable
§fn from(value: &RegionsOfInterestControl) -> Self
fn from(value: &RegionsOfInterestControl) -> Self
Converts to this type from the input type.
§impl From<&RegionsOfInterestControl> for &IUnknown
impl From<&RegionsOfInterestControl> for &IUnknown
§fn from(value: &RegionsOfInterestControl) -> Self
fn from(value: &RegionsOfInterestControl) -> Self
Converts to this type from the input type.
§impl From<RegionsOfInterestControl> for IInspectable
impl From<RegionsOfInterestControl> for IInspectable
§fn from(value: RegionsOfInterestControl) -> Self
fn from(value: RegionsOfInterestControl) -> Self
Converts to this type from the input type.
§impl From<RegionsOfInterestControl> for IUnknown
impl From<RegionsOfInterestControl> for IUnknown
§fn from(value: RegionsOfInterestControl) -> Self
fn from(value: RegionsOfInterestControl) -> Self
Converts to this type from the input type.
§impl Interface for RegionsOfInterestControl
impl Interface for RegionsOfInterestControl
§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 RegionsOfInterestControl
impl PartialEq for RegionsOfInterestControl
§fn eq(&self, other: &RegionsOfInterestControl) -> bool
fn eq(&self, other: &RegionsOfInterestControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RegionsOfInterestControl
impl StructuralPartialEq for RegionsOfInterestControl
Auto Trait Implementations§
impl RefUnwindSafe for RegionsOfInterestControl
impl !Send for RegionsOfInterestControl
impl !Sync for RegionsOfInterestControl
impl Unpin for RegionsOfInterestControl
impl UnwindSafe for RegionsOfInterestControl
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