pub struct PartsIn {
pub mac: ETHERNET_MAC,
pub mmc: ETHERNET_MMC,
pub dma: ETHERNET_DMA,
pub ptp: ETHERNET_PTP,
}
Expand description
A struct that contains all peripheral parts required to configure the ethernet peripheral.
Fields§
§mac: ETHERNET_MAC
§mmc: ETHERNET_MMC
§dma: ETHERNET_DMA
§ptp: ETHERNET_PTP
Trait Implementations§
Source§impl From<(ETHERNET_MAC, ETHERNET_MMC, ETHERNET_DMA, ETHERNET_PTP)> for PartsIn
impl From<(ETHERNET_MAC, ETHERNET_MMC, ETHERNET_DMA, ETHERNET_PTP)> for PartsIn
Source§fn from(value: (ETHERNET_MAC, ETHERNET_MMC, ETHERNET_DMA, ETHERNET_PTP)) -> Self
fn from(value: (ETHERNET_MAC, ETHERNET_MMC, ETHERNET_DMA, ETHERNET_PTP)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PartsIn
impl RefUnwindSafe for PartsIn
impl Send for PartsIn
impl !Sync for PartsIn
impl Unpin for PartsIn
impl UnwindSafe for PartsIn
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