Union windows_sys::Win32::System::Variant::VARIANT_0_0_0

#[repr(C)]
pub union VARIANT_0_0_0 {
Show 46 fields pub llVal: i64, pub lVal: i32, pub bVal: u8, pub iVal: i16, pub fltVal: f32, pub dblVal: f64, pub boolVal: VARIANT_BOOL, pub __OBSOLETE__VARIANT_BOOL: VARIANT_BOOL, pub scode: i32, pub cyVal: CY, pub date: f64, pub bstrVal: BSTR, pub punkVal: *mut c_void, pub pdispVal: *mut c_void, pub parray: *mut SAFEARRAY, pub pbVal: *mut u8, pub piVal: *mut i16, pub plVal: *mut i32, pub pllVal: *mut i64, pub pfltVal: *mut f32, pub pdblVal: *mut f64, pub pboolVal: *mut VARIANT_BOOL, pub __OBSOLETE__VARIANT_PBOOL: *mut VARIANT_BOOL, pub pscode: *mut i32, pub pcyVal: *mut CY, pub pdate: *mut f64, pub pbstrVal: *mut BSTR, pub ppunkVal: *mut *mut c_void, pub ppdispVal: *mut *mut c_void, pub pparray: *mut *mut SAFEARRAY, pub pvarVal: *mut VARIANT, pub byref: *mut c_void, pub cVal: i8, pub uiVal: u16, pub ulVal: u32, pub ullVal: u64, pub intVal: i32, pub uintVal: u32, pub pdecVal: *mut DECIMAL, pub pcVal: PSTR, pub puiVal: *mut u16, pub pulVal: *mut u32, pub pullVal: *mut u64, pub pintVal: *mut i32, pub puintVal: *mut u32, pub Anonymous: VARIANT_0_0_0_0,
}

Fields§

§llVal: i64§lVal: i32§bVal: u8§iVal: i16§fltVal: f32§dblVal: f64§boolVal: VARIANT_BOOL§__OBSOLETE__VARIANT_BOOL: VARIANT_BOOL§scode: i32§cyVal: CY§date: f64§bstrVal: BSTR§punkVal: *mut c_void§pdispVal: *mut c_void§parray: *mut SAFEARRAY§pbVal: *mut u8§piVal: *mut i16§plVal: *mut i32§pllVal: *mut i64§pfltVal: *mut f32§pdblVal: *mut f64§pboolVal: *mut VARIANT_BOOL§__OBSOLETE__VARIANT_PBOOL: *mut VARIANT_BOOL§pscode: *mut i32§pcyVal: *mut CY§pdate: *mut f64§pbstrVal: *mut BSTR§ppunkVal: *mut *mut c_void§ppdispVal: *mut *mut c_void§pparray: *mut *mut SAFEARRAY§pvarVal: *mut VARIANT§byref: *mut c_void§cVal: i8§uiVal: u16§ulVal: u32§ullVal: u64§intVal: i32§uintVal: u32§pdecVal: *mut DECIMAL§pcVal: PSTR§puiVal: *mut u16§pulVal: *mut u32§pullVal: *mut u64§pintVal: *mut i32§puintVal: *mut u32§Anonymous: VARIANT_0_0_0_0

Trait Implementations§

§

impl Clone for VARIANT_0_0_0

§

fn clone(&self) -> VARIANT_0_0_0

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for VARIANT_0_0_0

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.