#[repr(C)]
pub union mrb_value_union {
pub f: mrb_float,
pub p: *mut c_void,
pub i: mrb_int,
pub sym: mrb_sym,
}
Fields§
§f: mrb_float
§p: *mut c_void
§i: mrb_int
§sym: mrb_sym
Trait Implementations§
Source§impl Clone for mrb_value_union
impl Clone for mrb_value_union
Source§fn clone(&self) -> mrb_value_union
fn clone(&self) -> mrb_value_union
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 mrb_value_union
Auto Trait Implementations§
impl Freeze for mrb_value_union
impl RefUnwindSafe for mrb_value_union
impl !Send for mrb_value_union
impl !Sync for mrb_value_union
impl Unpin for mrb_value_union
impl UnwindSafe for mrb_value_union
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