Trait ICameraUIControl_Impl
pub trait ICameraUIControl_Impl: IUnknownImpl {
// Required methods
fn Show(
&self,
pwindow: Ref<'_, IUnknown>,
mode: CameraUIControlMode,
selectionmode: CameraUIControlLinearSelectionMode,
capturemode: CameraUIControlCaptureMode,
photoformat: CameraUIControlPhotoFormat,
videoformat: CameraUIControlVideoFormat,
bhasclosebutton: BOOL,
peventcallback: Ref<'_, ICameraUIControlEventCallback>,
) -> Result<()>;
fn Close(&self) -> Result<()>;
fn Suspend(&self) -> Result<BOOL>;
fn Resume(&self) -> Result<()>;
fn GetCurrentViewType(&self) -> Result<CameraUIControlViewType>;
fn GetActiveItem(&self, pbstractiveitempath: *mut BSTR) -> Result<()>;
fn GetSelectedItems(&self) -> Result<*mut SAFEARRAY>;
fn RemoveCapturedItem(&self, pszpath: &PCWSTR) -> Result<()>;
}
Required Methods§
fn Show( &self, pwindow: Ref<'_, IUnknown>, mode: CameraUIControlMode, selectionmode: CameraUIControlLinearSelectionMode, capturemode: CameraUIControlCaptureMode, photoformat: CameraUIControlPhotoFormat, videoformat: CameraUIControlVideoFormat, bhasclosebutton: BOOL, peventcallback: Ref<'_, ICameraUIControlEventCallback>, ) -> Result<()>
fn Close(&self) -> Result<()>
fn Suspend(&self) -> Result<BOOL>
fn Resume(&self) -> Result<()>
fn GetCurrentViewType(&self) -> Result<CameraUIControlViewType>
fn GetActiveItem(&self, pbstractiveitempath: *mut BSTR) -> Result<()>
fn GetSelectedItems(&self) -> Result<*mut SAFEARRAY>
fn RemoveCapturedItem(&self, pszpath: &PCWSTR) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.