#[repr(C)]pub struct esp_openthread_spi_slave_config_t {
pub host_device: u32,
pub bus_config: spi_bus_config_t,
pub slave_config: spi_slave_interface_config_t,
pub intr_pin: i32,
}
Expand description
@brief The spi slave config for OpenThread.
Fields§
§host_device: u32
< SPI host device
bus_config: spi_bus_config_t
< SPI bus config
slave_config: spi_slave_interface_config_t
< SPI slave config
intr_pin: i32
< SPI interrupt pin
Trait Implementations§
Source§impl Clone for esp_openthread_spi_slave_config_t
impl Clone for esp_openthread_spi_slave_config_t
Source§fn clone(&self) -> esp_openthread_spi_slave_config_t
fn clone(&self) -> esp_openthread_spi_slave_config_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for esp_openthread_spi_slave_config_t
impl Default for esp_openthread_spi_slave_config_t
Source§fn default() -> esp_openthread_spi_slave_config_t
fn default() -> esp_openthread_spi_slave_config_t
Returns the “default value” for a type. Read more
impl Copy for esp_openthread_spi_slave_config_t
Auto Trait Implementations§
impl Freeze for esp_openthread_spi_slave_config_t
impl RefUnwindSafe for esp_openthread_spi_slave_config_t
impl Send for esp_openthread_spi_slave_config_t
impl Sync for esp_openthread_spi_slave_config_t
impl Unpin for esp_openthread_spi_slave_config_t
impl UnwindSafe for esp_openthread_spi_slave_config_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)