#[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_tTrait Implementations§
Source§impl Clone for hal_data_u
impl Clone for hal_data_u
Source§fn clone(&self) -> hal_data_u
fn clone(&self) -> hal_data_u
Returns a duplicate 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 hal_data_u
Auto Trait Implementations§
impl Freeze for hal_data_u
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§
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