#[repr(C)]pub struct LustFfiValue {
pub tag: LustFfiValueTag,
pub bool_value: bool,
pub int_value: LustInt,
pub float_value: LustFloat,
pub string_ptr: *mut c_char,
}Fields§
§tag: LustFfiValueTag§bool_value: bool§int_value: LustInt§float_value: LustFloat§string_ptr: *mut c_charTrait Implementations§
Source§impl Clone for LustFfiValue
impl Clone for LustFfiValue
Source§fn clone(&self) -> LustFfiValue
fn clone(&self) -> LustFfiValue
Returns a duplicate 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 moreSource§impl Debug for LustFfiValue
impl Debug for LustFfiValue
Source§impl Default for LustFfiValue
impl Default for LustFfiValue
impl Copy for LustFfiValue
Auto Trait Implementations§
impl Freeze for LustFfiValue
impl RefUnwindSafe for LustFfiValue
impl !Send for LustFfiValue
impl !Sync for LustFfiValue
impl Unpin for LustFfiValue
impl UnwindSafe for LustFfiValue
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