#[repr(C)]pub struct FDCAN_BOOSTPack_t {
pub in_curr: u32,
pub in_volt: u32,
}Fields§
§in_curr: u32§in_volt: u32Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for FDCAN_BOOSTPack_t
impl<'__de, __Context> BorrowDecode<'__de, __Context> for FDCAN_BOOSTPack_t
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for FDCAN_BOOSTPack_t
impl Clone for FDCAN_BOOSTPack_t
Source§fn clone(&self) -> FDCAN_BOOSTPack_t
fn clone(&self) -> FDCAN_BOOSTPack_t
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 moreSource§impl Debug for FDCAN_BOOSTPack_t
impl Debug for FDCAN_BOOSTPack_t
Source§impl<__Context> Decode<__Context> for FDCAN_BOOSTPack_t
impl<__Context> Decode<__Context> for FDCAN_BOOSTPack_t
Source§impl Encode for FDCAN_BOOSTPack_t
impl Encode for FDCAN_BOOSTPack_t
Source§impl FDCANPack for FDCAN_BOOSTPack_t
impl FDCANPack for FDCAN_BOOSTPack_t
Source§const FDCAN_BYTES: FDCANLength = FDCANLength::BYTES_8
const FDCAN_BYTES: FDCANLength = FDCANLength::BYTES_8
The length of the package in bytes, can be up to 64 bytes. Read more
Source§impl PartialEq for FDCAN_BOOSTPack_t
impl PartialEq for FDCAN_BOOSTPack_t
impl StructuralPartialEq for FDCAN_BOOSTPack_t
Auto Trait Implementations§
impl Freeze for FDCAN_BOOSTPack_t
impl RefUnwindSafe for FDCAN_BOOSTPack_t
impl Send for FDCAN_BOOSTPack_t
impl Sync for FDCAN_BOOSTPack_t
impl Unpin for FDCAN_BOOSTPack_t
impl UnwindSafe for FDCAN_BOOSTPack_t
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