pub struct IViewObject(/* private fields */);Implementations§
Source§impl IViewObject
impl IViewObject
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
Trait Implementations§
Source§impl Clone for IViewObject
impl Clone for IViewObject
Source§fn clone(&self) -> IViewObject
fn clone(&self) -> IViewObject
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 IViewObject
impl Debug for IViewObject
Source§impl From<&IViewObject> for IUnknown
impl From<&IViewObject> for IUnknown
Source§fn from(value: &IViewObject) -> Self
fn from(value: &IViewObject) -> 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 IViewObject
impl From<&IViewObjectEx> for IViewObject
Source§fn from(value: &IViewObjectEx) -> Self
fn from(value: &IViewObjectEx) -> Self
Converts to this type from the input type.
Source§impl From<IViewObject> for IUnknown
impl From<IViewObject> for IUnknown
Source§fn from(value: IViewObject) -> Self
fn from(value: IViewObject) -> 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 IViewObject
impl From<IViewObjectEx> for IViewObject
Source§fn from(value: IViewObjectEx) -> Self
fn from(value: IViewObjectEx) -> Self
Converts to this type from the input type.
Source§impl Interface for IViewObject
impl Interface for IViewObject
const IID: Guid
type Vtable = IViewObject_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IViewObject
impl<'a> IntoParam<'a, IUnknown> for &'a IViewObject
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IViewObject
impl<'a> IntoParam<'a, IUnknown> for IViewObject
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 &'a IViewObjectEx
impl<'a> IntoParam<'a, IViewObject> for &'a IViewObjectEx
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, IViewObject> for IViewObjectEx
impl<'a> IntoParam<'a, IViewObject> for IViewObjectEx
fn into_param(self) -> Param<'a, IViewObject>
Source§impl PartialEq for IViewObject
impl PartialEq for IViewObject
impl Eq for IViewObject
impl StructuralPartialEq for IViewObject
Auto Trait Implementations§
impl Freeze for IViewObject
impl RefUnwindSafe for IViewObject
impl !Send for IViewObject
impl !Sync for IViewObject
impl Unpin for IViewObject
impl UnwindSafe for IViewObject
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