Struct IVideoProcAmp
pub struct IVideoProcAmp(/* private fields */);
Implementations§
§impl IVideoProcAmp
impl IVideoProcAmp
pub unsafe fn get_BacklightCompensation( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_BacklightCompensation( &self, value: i32, flags: i32, ) -> Result<()>
pub unsafe fn getRange_BacklightCompensation( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Brightness( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_Brightness(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Brightness( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_ColorEnable( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_ColorEnable(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_ColorEnable( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Contrast( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_Contrast(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Contrast( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Gamma(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Gamma(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Gamma( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Saturation( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_Saturation(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Saturation( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Sharpness( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_Sharpness(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Sharpness( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_WhiteBalance( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_WhiteBalance(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_WhiteBalance( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Gain(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Gain(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Gain( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_Hue(&self, pvalue: *mut i32, pflags: *mut i32) -> Result<()>
pub unsafe fn put_Hue(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_Hue( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_DigitalMultiplier( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_DigitalMultiplier(&self, value: i32, flags: i32) -> Result<()>
pub unsafe fn getRange_DigitalMultiplier( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_PowerlineFrequency( &self, pvalue: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_PowerlineFrequency( &self, value: i32, flags: i32, ) -> Result<()>
pub unsafe fn getRange_PowerlineFrequency( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
pub unsafe fn get_WhiteBalanceComponent( &self, pvalue1: *mut i32, pvalue2: *mut i32, pflags: *mut i32, ) -> Result<()>
pub unsafe fn put_WhiteBalanceComponent( &self, value1: i32, value2: i32, flags: i32, ) -> Result<()>
pub unsafe fn getRange_WhiteBalanceComponent( &self, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflag: *mut i32, ) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IVideoProcAmp
impl CanInto<IUnknown> for IVideoProcAmp
§impl Clone for IVideoProcAmp
impl Clone for IVideoProcAmp
§fn clone(&self) -> IVideoProcAmp
fn clone(&self) -> IVideoProcAmp
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 IVideoProcAmp
impl Debug for IVideoProcAmp
§impl From<&IVideoProcAmp> for &IUnknown
impl From<&IVideoProcAmp> for &IUnknown
§fn from(value: &IVideoProcAmp) -> Self
fn from(value: &IVideoProcAmp) -> Self
Converts to this type from the input type.
§impl From<IVideoProcAmp> for IUnknown
impl From<IVideoProcAmp> for IUnknown
§fn from(value: IVideoProcAmp) -> Self
fn from(value: IVideoProcAmp) -> Self
Converts to this type from the input type.
§impl Interface for IVideoProcAmp
impl Interface for IVideoProcAmp
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IVideoProcAmp
impl PartialEq for IVideoProcAmp
impl Eq for IVideoProcAmp
impl StructuralPartialEq for IVideoProcAmp
Auto Trait Implementations§
impl Freeze for IVideoProcAmp
impl RefUnwindSafe for IVideoProcAmp
impl !Send for IVideoProcAmp
impl !Sync for IVideoProcAmp
impl Unpin for IVideoProcAmp
impl UnwindSafe for IVideoProcAmp
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