Struct esp_idf_sys::emac_esp_smi_gpio_config_t
source · #[repr(C)]pub struct emac_esp_smi_gpio_config_t {
pub mdc_num: c_int,
pub mdio_num: c_int,
}
Expand description
@brief EMAC SMI GPIO configuration
Fields§
§mdc_num: c_int
< SMI MDC GPIO number, set to -1 could bypass the SMI GPIO configuration
mdio_num: c_int
< SMI MDIO GPIO number, set to -1 could bypass the SMI GPIO configuration
Trait Implementations§
source§impl Clone for emac_esp_smi_gpio_config_t
impl Clone for emac_esp_smi_gpio_config_t
source§fn clone(&self) -> emac_esp_smi_gpio_config_t
fn clone(&self) -> emac_esp_smi_gpio_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 Debug for emac_esp_smi_gpio_config_t
impl Debug for emac_esp_smi_gpio_config_t
source§impl Default for emac_esp_smi_gpio_config_t
impl Default for emac_esp_smi_gpio_config_t
source§fn default() -> emac_esp_smi_gpio_config_t
fn default() -> emac_esp_smi_gpio_config_t
Returns the “default value” for a type. Read more
impl Copy for emac_esp_smi_gpio_config_t
Auto Trait Implementations§
impl Freeze for emac_esp_smi_gpio_config_t
impl RefUnwindSafe for emac_esp_smi_gpio_config_t
impl Send for emac_esp_smi_gpio_config_t
impl Sync for emac_esp_smi_gpio_config_t
impl Unpin for emac_esp_smi_gpio_config_t
impl UnwindSafe for emac_esp_smi_gpio_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 T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)