pub struct IVisualProperties(/* private fields */);Implementations§
Source§impl IVisualProperties
impl IVisualProperties
pub unsafe fn SetWatermark<'a>( &self, hbmp: impl IntoParam<'a, HBITMAP>, vpwf: VPWATERMARKFLAGS, ) -> Result<()>
pub unsafe fn SetColor(&self, vpcf: VPCOLORFLAGS, cr: u32) -> Result<()>
pub unsafe fn GetColor(&self, vpcf: VPCOLORFLAGS) -> Result<u32>
pub unsafe fn SetItemHeight(&self, cyiteminpixels: i32) -> Result<()>
pub unsafe fn GetItemHeight(&self) -> Result<i32>
pub unsafe fn SetFont<'a>( &self, plf: *const LOGFONTW, bredraw: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn GetFont(&self) -> Result<LOGFONTW>
pub unsafe fn SetTheme<'a>( &self, pszsubappname: impl IntoParam<'a, PWSTR>, pszsubidlist: impl IntoParam<'a, PWSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IVisualProperties
impl Clone for IVisualProperties
Source§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 moreSource§impl Debug for IVisualProperties
impl Debug for IVisualProperties
Source§impl From<&IVisualProperties> for IUnknown
impl From<&IVisualProperties> for IUnknown
Source§fn from(value: &IVisualProperties) -> Self
fn from(value: &IVisualProperties) -> Self
Converts to this type from the input type.
Source§impl From<IVisualProperties> for IUnknown
impl From<IVisualProperties> for IUnknown
Source§fn from(value: IVisualProperties) -> Self
fn from(value: IVisualProperties) -> Self
Converts to this type from the input type.
Source§impl Interface for IVisualProperties
impl Interface for IVisualProperties
const IID: Guid
type Vtable = IVisualProperties_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IVisualProperties
impl PartialEq for IVisualProperties
impl Eq for IVisualProperties
impl StructuralPartialEq for IVisualProperties
Auto Trait Implementations§
impl Freeze for IVisualProperties
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> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType to Result<T>.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.
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