[−][src]Enum win_variant::VariantResult
VariantResult is a tyoe that can be converted from VARIANT to automatically convert the VARIANT value to a rust type that is easier to work with. The VARIANT can be dropped after the conversion as the data is copied into the VariantResult.
Variants
BOOL(bool)
I16(i16)
U16(u16)
Int(i32)
Uint(u32)
I64(i64)
U64(u64)
F32(f32)
F64(f64)
String(String)
SafeArray(SafeArray)
Trait Implementations
impl Debug for VariantResult
[src]
impl TryFrom<VARIANT> for VariantResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for VariantResult
[src]
impl !Send for VariantResult
[src]
impl !Sync for VariantResult
[src]
impl Unpin for VariantResult
[src]
impl UnwindSafe for VariantResult
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,