#[repr(C)]pub union BcVmConstValue {
pub valueBoolean: bool,
pub valueNumber: f64,
pub valueVector: [f32; 4],
pub valueString: &'static str,
pub valueImport: u32,
pub valueTable: u32,
pub valueClosure: u32,
pub valueInteger: i64,
}Fields§
§valueBoolean: bool§valueNumber: f64§valueVector: [f32; 4]§valueString: &'static str§valueImport: u32§valueTable: u32§valueClosure: u32§valueInteger: i64Trait Implementations§
Source§impl Clone for BcVmConstValue
impl Clone for BcVmConstValue
Source§fn clone(&self) -> BcVmConstValue
fn clone(&self) -> BcVmConstValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BcVmConstValue
Auto Trait Implementations§
impl Freeze for BcVmConstValue
impl RefUnwindSafe for BcVmConstValue
impl Send for BcVmConstValue
impl Sync for BcVmConstValue
impl Unpin for BcVmConstValue
impl UnsafeUnpin for BcVmConstValue
impl UnwindSafe for BcVmConstValue
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