Union flutter_rust_bridge::ffi::io::ffi::DartCObjectValue
source · #[repr(C)]
pub union DartCObjectValue {
pub as_bool: bool,
pub as_int32: i32,
pub as_int64: i64,
pub as_double: f64,
pub as_string: *mut i8,
pub as_send_port: DartNativeSendPort,
pub as_capability: DartNativeCapability,
pub as_array: DartNativeArray,
pub as_typed_data: DartNativeTypedData,
pub as_external_typed_data: DartNativeExternalTypedData,
pub as_native_pointer: DartNativePointer,
/* private fields */
}
Fields§
§as_bool: bool
§as_int32: i32
§as_int64: i64
§as_double: f64
§as_string: *mut i8
§as_send_port: DartNativeSendPort
§as_capability: DartNativeCapability
§as_array: DartNativeArray
§as_typed_data: DartNativeTypedData
§as_external_typed_data: DartNativeExternalTypedData
§as_native_pointer: DartNativePointer
Trait Implementations§
source§impl Clone for DartCObjectValue
impl Clone for DartCObjectValue
source§fn clone(&self) -> DartCObjectValue
fn clone(&self) -> DartCObjectValue
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 moreimpl Copy for DartCObjectValue
Auto Trait Implementations§
impl RefUnwindSafe for DartCObjectValue
impl !Send for DartCObjectValue
impl !Sync for DartCObjectValue
impl Unpin for DartCObjectValue
impl UnwindSafe for DartCObjectValue
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