Union linuxcnc_hal_sys::hal_data_u
source · #[repr(C)]
pub union hal_data_u {
pub b: hal_bit_t,
pub s: hal_s32_t,
pub u: hal_u32_t,
pub f: real_t,
pub p: hal_port_t,
}
Expand description
HAL “data union” structure This structure may hold any type of hal data
Fields
b: hal_bit_t
s: hal_s32_t
u: hal_u32_t
f: real_t
p: hal_port_t
Trait Implementations
sourceimpl Clone for hal_data_u
impl Clone for hal_data_u
sourcefn clone(&self) -> hal_data_u
fn clone(&self) -> hal_data_u
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for hal_data_u
Auto Trait Implementations
impl RefUnwindSafe for hal_data_u
impl Send for hal_data_u
impl Sync for hal_data_u
impl Unpin for hal_data_u
impl UnwindSafe for hal_data_u
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more