Struct stm32_metapac::metadata::PeripheralPin
pub struct PeripheralPin {
pub pin: &'static str,
pub signal: &'static str,
pub af: Option<u8>,
}
Fields§
§pin: &'static str
§signal: &'static str
§af: Option<u8>
Trait Implementations§
§impl Clone for PeripheralPin
impl Clone for PeripheralPin
§fn clone(&self) -> PeripheralPin
fn clone(&self) -> PeripheralPin
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 more§impl Debug for PeripheralPin
impl Debug for PeripheralPin
§impl PartialEq for PeripheralPin
impl PartialEq for PeripheralPin
§fn eq(&self, other: &PeripheralPin) -> bool
fn eq(&self, other: &PeripheralPin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PeripheralPin
impl StructuralEq for PeripheralPin
impl StructuralPartialEq for PeripheralPin
Auto Trait Implementations§
impl RefUnwindSafe for PeripheralPin
impl Send for PeripheralPin
impl Sync for PeripheralPin
impl Unpin for PeripheralPin
impl UnwindSafe for PeripheralPin
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