#[repr(C)]pub struct acc_hal_a121_t {
pub max_spi_transfer_size: u16,
pub mem_alloc: acc_hal_mem_alloc_function_t,
pub mem_free: acc_hal_mem_free_function_t,
pub transfer: acc_hal_sensor_transfer8_function_t,
pub log: acc_hal_log_function_t,
pub optimization: acc_hal_optimization_t,
}Fields§
§max_spi_transfer_size: u16§mem_alloc: acc_hal_mem_alloc_function_t§mem_free: acc_hal_mem_free_function_t§transfer: acc_hal_sensor_transfer8_function_t§log: acc_hal_log_function_t§optimization: acc_hal_optimization_tTrait Implementations§
Source§impl Clone for acc_hal_a121_t
impl Clone for acc_hal_a121_t
Source§fn clone(&self) -> acc_hal_a121_t
fn clone(&self) -> acc_hal_a121_t
Returns a copy 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 acc_hal_a121_t
impl Debug for acc_hal_a121_t
impl Copy for acc_hal_a121_t
Auto Trait Implementations§
impl Freeze for acc_hal_a121_t
impl RefUnwindSafe for acc_hal_a121_t
impl Send for acc_hal_a121_t
impl Sync for acc_hal_a121_t
impl Unpin for acc_hal_a121_t
impl UnwindSafe for acc_hal_a121_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