#[repr(C)]
pub union ValUnion {
pub ival: c_int,
pub str_: *mut c_char,
}
Fields§
§ival: c_int
§str_: *mut c_char
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValUnion
impl RefUnwindSafe for ValUnion
impl !Send for ValUnion
impl !Sync for ValUnion
impl Unpin for ValUnion
impl UnwindSafe for ValUnion
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