pub enum Variant {
}
Variants
None
I8(i8)
I16(i16)
I32(i32)
I64(i64)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
F32(f32)
F64(f64)
Bool(bool)
Currency(Currency)
String(IntercomString)
SystemTime(SystemTime)
IUnknown(ComRc<dyn IUnknown>)
Implementations
Trait Implementations
sourceimpl<TS: TypeSystem> ExternInput<TS> for Variant
impl<TS: TypeSystem> ExternInput<TS> for Variant
type Lease = ()
sourceunsafe fn into_foreign_parameter(self) -> ComResult<(Self::ForeignType, ())>
unsafe fn into_foreign_parameter(self) -> ComResult<(Self::ForeignType, ())>
Safety Read more
type Owned = Variant
sourceunsafe fn from_foreign_parameter(
src: Self::ForeignType
) -> ComResult<Self::Owned>
unsafe fn from_foreign_parameter(
src: Self::ForeignType
) -> ComResult<Self::Owned>
Safety Read more
sourceimpl<TS: TypeSystem> ExternOutput<TS> for Variant
impl<TS: TypeSystem> ExternOutput<TS> for Variant
fn into_foreign_output(self) -> ComResult<Self::ForeignType>
sourceunsafe fn from_foreign_output(src: Self::ForeignType) -> ComResult<Self>
unsafe fn from_foreign_output(src: Self::ForeignType) -> ComResult<Self>
Safety Read more
sourceunsafe fn drop_foreign_output(source: Self::ForeignType)
unsafe fn drop_foreign_output(source: Self::ForeignType)
Safety Read more
sourceimpl<TS: TypeSystem> ExternType<TS> for Variant
impl<TS: TypeSystem> ExternType<TS> for Variant
type ForeignType = Variant<TS>
sourceimpl ForeignType for Variant
impl ForeignType for Variant
sourceimpl<'a> From<&'a Variant> for VariantError
impl<'a> From<&'a Variant> for VariantError
sourceimpl From<SystemTime> for Variant
impl From<SystemTime> for Variant
sourcefn from(src: SystemTime) -> Self
fn from(src: SystemTime) -> Self
Converts to this type from the input type.
sourceimpl<T: Into<IntercomString>> From<T> for Variant
impl<T: Into<IntercomString>> From<T> for Variant
sourceimpl<TS: TypeSystem> TryFrom<Variant> for Variant<TS>
impl<TS: TypeSystem> TryFrom<Variant> for Variant<TS>
sourceimpl TryFrom<Variant> for SystemTime
impl TryFrom<Variant> for SystemTime
type Error = VariantError
type Error = VariantError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl !RefUnwindSafe for Variant
impl !Send for Variant
impl !Sync for Variant
impl !Unpin for Variant
impl !UnwindSafe for Variant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ExternDefault for T
impl<T> ExternDefault for T
sourceunsafe fn extern_default() -> T
unsafe fn extern_default() -> T
Safety Read more