pub struct IViewObject2(/* private fields */);Implementations§
Source§impl IViewObject2
impl IViewObject2
pub unsafe fn GetColorSet<'a, T4__: IntoParam<'a, HDC>>( &self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hictargetdev: T4__, ppcolorset: *mut *mut LOGPALETTE, ) -> ErrorCode
pub unsafe fn Freeze( &self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut c_void, pdwfreeze: *mut u32, ) -> ErrorCode
pub unsafe fn Unfreeze(&self, dwfreeze: u32) -> ErrorCode
pub unsafe fn SetAdvise<'a, T2__: IntoParam<'a, IAdviseSink>>( &self, aspects: u32, advf: u32, padvsink: T2__, ) -> ErrorCode
pub unsafe fn GetAdvise( &self, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut Option<IAdviseSink>, ) -> ErrorCode
pub unsafe fn GetExtent( &self, dwdrawaspect: u32, lindex: i32, ptd: *mut DVTARGETDEVICE, lpsizel: *mut SIZE, ) -> ErrorCode
Trait Implementations§
Source§impl Clone for IViewObject2
impl Clone for IViewObject2
Source§fn clone(&self) -> IViewObject2
fn clone(&self) -> IViewObject2
Returns a duplicate 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 moreSource§impl Debug for IViewObject2
impl Debug for IViewObject2
Source§impl From<&IViewObject2> for IUnknown
impl From<&IViewObject2> for IUnknown
Source§fn from(value: &IViewObject2) -> Self
fn from(value: &IViewObject2) -> Self
Converts to this type from the input type.
Source§impl From<&IViewObject2> for IViewObject
impl From<&IViewObject2> for IViewObject
Source§fn from(value: &IViewObject2) -> Self
fn from(value: &IViewObject2) -> Self
Converts to this type from the input type.
Source§impl From<&IViewObjectEx> for IViewObject2
impl From<&IViewObjectEx> for IViewObject2
Source§fn from(value: &IViewObjectEx) -> Self
fn from(value: &IViewObjectEx) -> Self
Converts to this type from the input type.
Source§impl From<IViewObject2> for IUnknown
impl From<IViewObject2> for IUnknown
Source§fn from(value: IViewObject2) -> Self
fn from(value: IViewObject2) -> Self
Converts to this type from the input type.
Source§impl From<IViewObject2> for IViewObject
impl From<IViewObject2> for IViewObject
Source§fn from(value: IViewObject2) -> Self
fn from(value: IViewObject2) -> Self
Converts to this type from the input type.
Source§impl From<IViewObjectEx> for IViewObject2
impl From<IViewObjectEx> for IViewObject2
Source§fn from(value: IViewObjectEx) -> Self
fn from(value: IViewObjectEx) -> Self
Converts to this type from the input type.
Source§impl Interface for IViewObject2
impl Interface for IViewObject2
const IID: Guid
type Vtable = IViewObject2_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IViewObject2
impl<'a> IntoParam<'a, IUnknown> for &'a IViewObject2
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IViewObject2
impl<'a> IntoParam<'a, IUnknown> for IViewObject2
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IViewObject> for &'a IViewObject2
impl<'a> IntoParam<'a, IViewObject> for &'a IViewObject2
fn into_param(self) -> Param<'a, IViewObject>
Source§impl<'a> IntoParam<'a, IViewObject> for IViewObject2
impl<'a> IntoParam<'a, IViewObject> for IViewObject2
fn into_param(self) -> Param<'a, IViewObject>
Source§impl<'a> IntoParam<'a, IViewObject2> for &'a IViewObjectEx
impl<'a> IntoParam<'a, IViewObject2> for &'a IViewObjectEx
fn into_param(self) -> Param<'a, IViewObject2>
Source§impl<'a> IntoParam<'a, IViewObject2> for IViewObjectEx
impl<'a> IntoParam<'a, IViewObject2> for IViewObjectEx
fn into_param(self) -> Param<'a, IViewObject2>
Source§impl PartialEq for IViewObject2
impl PartialEq for IViewObject2
impl Eq for IViewObject2
impl StructuralPartialEq for IViewObject2
Auto Trait Implementations§
impl Freeze for IViewObject2
impl RefUnwindSafe for IViewObject2
impl !Send for IViewObject2
impl !Sync for IViewObject2
impl Unpin for IViewObject2
impl UnwindSafe for IViewObject2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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