Union evil_janet::Janet
source · #[repr(C)]
pub union Janet {
pub u64_: u64,
pub i64_: i64,
pub number: f64,
pub pointer: *mut c_void,
}
Fields§
§u64_: u64
§i64_: i64
§number: f64
§pointer: *mut c_void
Trait Implementations§
source§impl Ord for Janet
impl Ord for Janet
source§impl PartialEq for Janet
impl PartialEq for Janet
source§impl PartialOrd for Janet
impl PartialOrd for Janet
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Janet
impl Eq for Janet
Auto Trait Implementations§
impl Freeze for Janet
impl RefUnwindSafe for Janet
impl !Send for Janet
impl !Sync for Janet
impl Unpin for Janet
impl UnwindSafe for Janet
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