Struct windows_core::PROPVARIANT
pub struct PROPVARIANT(/* private fields */);
Expand description
A PROPVARIANT (PROPVARIANT) is a container that can store different types of values.
Implementations§
§impl PROPVARIANT
impl PROPVARIANT
pub fn new() -> Self
pub fn new() -> Self
Create an empty PROPVARIANT
.
This function does not allocate memory.
pub unsafe fn from_raw(raw: PROPVARIANT) -> Self
pub unsafe fn from_raw(raw: PROPVARIANT) -> Self
Creates a PROPVARIANT
by taking ownership of the raw data.
§Safety
The raw data must be owned by the caller and represent a valid PROPVARIANT
data structure.
pub fn as_raw(&self) -> &PROPVARIANT
pub fn as_raw(&self) -> &PROPVARIANT
Returns the underlying raw data for the PROPVARIANT
.
Trait Implementations§
§impl Clone for PROPVARIANT
impl Clone for PROPVARIANT
§impl Debug for PROPVARIANT
impl Debug for PROPVARIANT
§impl Display for PROPVARIANT
impl Display for PROPVARIANT
§impl From<&str> for PROPVARIANT
impl From<&str> for PROPVARIANT
§impl From<BSTR> for PROPVARIANT
impl From<BSTR> for PROPVARIANT
§impl From<IUnknown> for PROPVARIANT
impl From<IUnknown> for PROPVARIANT
§impl From<bool> for PROPVARIANT
impl From<bool> for PROPVARIANT
§impl From<f32> for PROPVARIANT
impl From<f32> for PROPVARIANT
§impl From<f64> for PROPVARIANT
impl From<f64> for PROPVARIANT
§impl From<i16> for PROPVARIANT
impl From<i16> for PROPVARIANT
§impl From<i32> for PROPVARIANT
impl From<i32> for PROPVARIANT
§impl From<i64> for PROPVARIANT
impl From<i64> for PROPVARIANT
§impl From<u16> for PROPVARIANT
impl From<u16> for PROPVARIANT
§impl From<u32> for PROPVARIANT
impl From<u32> for PROPVARIANT
§impl From<u64> for PROPVARIANT
impl From<u64> for PROPVARIANT
§impl PartialEq for PROPVARIANT
impl PartialEq for PROPVARIANT
§impl TryFrom<&PROPVARIANT> for BSTR
impl TryFrom<&PROPVARIANT> for BSTR
§impl TryFrom<&PROPVARIANT> for IUnknown
impl TryFrom<&PROPVARIANT> for IUnknown
§impl TryFrom<&PROPVARIANT> for VARIANT
impl TryFrom<&PROPVARIANT> for VARIANT
§impl TryFrom<&PROPVARIANT> for bool
impl TryFrom<&PROPVARIANT> for bool
§impl TryFrom<&PROPVARIANT> for f64
impl TryFrom<&PROPVARIANT> for f64
§impl TryFrom<&PROPVARIANT> for i16
impl TryFrom<&PROPVARIANT> for i16
§impl TryFrom<&PROPVARIANT> for i32
impl TryFrom<&PROPVARIANT> for i32
§impl TryFrom<&PROPVARIANT> for i64
impl TryFrom<&PROPVARIANT> for i64
§impl TryFrom<&PROPVARIANT> for u16
impl TryFrom<&PROPVARIANT> for u16
§impl TryFrom<&PROPVARIANT> for u32
impl TryFrom<&PROPVARIANT> for u32
§impl TryFrom<&PROPVARIANT> for u64
impl TryFrom<&PROPVARIANT> for u64
§impl TryFrom<&VARIANT> for PROPVARIANT
impl TryFrom<&VARIANT> for PROPVARIANT
impl Eq for PROPVARIANT
Auto Trait Implementations§
impl Freeze for PROPVARIANT
impl RefUnwindSafe for PROPVARIANT
impl !Send for PROPVARIANT
impl !Sync for PROPVARIANT
impl Unpin for PROPVARIANT
impl UnwindSafe for PROPVARIANT
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