#[repr(C)]
pub union Word {
pub data: i32,
pub float: f32,
pub ptr_data: isize,
pub ptr: *mut (),
}
Fields§
§data:i32
§
float:f32
§
ptr_data:isize
§
ptr:*mut ()
Implementations§
Trait Implementations§
source§impl PartialEq<Word> for Word
impl PartialEq<Word> for Word
impl Copy for Word
Auto Trait Implementations§
impl RefUnwindSafe for Word
impl !Send for Word
impl !Sync for Word
impl Unpin for Word
impl UnwindSafe for Word
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