Struct windows::Win32::UI::Shell::IVisualProperties
pub struct IVisualProperties(/* private fields */);
Implementations§
§impl IVisualProperties
impl IVisualProperties
pub unsafe fn SetWatermark<P0>(
&self,
hbmp: P0,
vpwf: VPWATERMARKFLAGS
) -> Result<()>where
P0: IntoParam<HBITMAP>,
pub unsafe fn SetColor<P0>(&self, vpcf: VPCOLORFLAGS, cr: P0) -> Result<()>where
P0: IntoParam<COLORREF>,
pub unsafe fn GetColor(&self, vpcf: VPCOLORFLAGS) -> Result<COLORREF>
pub unsafe fn SetItemHeight(&self, cyiteminpixels: i32) -> Result<()>
pub unsafe fn GetItemHeight(&self) -> Result<i32>
pub unsafe fn SetFont<P0>(
&self,
plf: *const LOGFONTW,
bredraw: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn GetFont(&self, plf: *mut LOGFONTW) -> Result<()>
pub unsafe fn SetTheme<P0, P1>( &self, pszsubappname: P0, pszsubidlist: P1 ) -> Result<()>
Trait Implementations§
§impl Clone for IVisualProperties
impl Clone for IVisualProperties
§fn clone(&self) -> IVisualProperties
fn clone(&self) -> IVisualProperties
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 IVisualProperties
impl Debug for IVisualProperties
§impl From<&IVisualProperties> for &IUnknown
impl From<&IVisualProperties> for &IUnknown
§fn from(value: &IVisualProperties) -> Self
fn from(value: &IVisualProperties) -> Self
Converts to this type from the input type.
§impl From<IVisualProperties> for IUnknown
impl From<IVisualProperties> for IUnknown
§fn from(value: IVisualProperties) -> Self
fn from(value: IVisualProperties) -> Self
Converts to this type from the input type.
§impl Interface for IVisualProperties
impl Interface for IVisualProperties
§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 IVisualProperties
impl PartialEq for IVisualProperties
§fn eq(&self, other: &IVisualProperties) -> bool
fn eq(&self, other: &IVisualProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IVisualProperties
impl StructuralPartialEq for IVisualProperties
Auto Trait Implementations§
impl RefUnwindSafe for IVisualProperties
impl !Send for IVisualProperties
impl !Sync for IVisualProperties
impl Unpin for IVisualProperties
impl UnwindSafe for IVisualProperties
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