pub struct InputConnection(/* private fields */);Expand description
A peripheral input signal connection.
This is mainly intended for internal use, but it can be used to connect peripherals within the MCU without external hardware.
Trait Implementations§
Source§impl Clone for InputConnection
impl Clone for InputConnection
Source§fn clone(&self) -> InputConnection
fn clone(&self) -> InputConnection
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 From<InputSignal> for InputConnection
impl From<InputSignal> for InputConnection
Source§fn from(input: InputSignal) -> Self
fn from(input: InputSignal) -> Self
Converts to this type from the input type.
Source§impl From<Level> for InputConnection
impl From<Level> for InputConnection
Source§impl From<NoPin> for InputConnection
impl From<NoPin> for InputConnection
Source§impl From<OutputConnection> for InputConnection
impl From<OutputConnection> for InputConnection
Source§fn from(conn: OutputConnection) -> Self
fn from(conn: OutputConnection) -> Self
Converts to this type from the input type.
Source§impl From<OutputSignal> for InputConnection
impl From<OutputSignal> for InputConnection
Source§fn from(output_signal: OutputSignal) -> Self
fn from(output_signal: OutputSignal) -> Self
Converts to this type from the input type.
Source§impl<P> From<P> for InputConnectionwhere
P: InputPin,
impl<P> From<P> for InputConnectionwhere
P: InputPin,
Source§impl Peripheral for InputConnection
impl Peripheral for InputConnection
Source§type P = InputConnection
type P = InputConnection
Peripheral singleton type
Source§unsafe fn clone_unchecked(&self) -> Self::P
unsafe fn clone_unchecked(&self) -> Self::P
Unsafely clone (duplicate) a peripheral singleton. Read more
impl PeripheralInput for InputConnection
Auto Trait Implementations§
impl Freeze for InputConnection
impl RefUnwindSafe for InputConnection
impl Send for InputConnection
impl Sync for InputConnection
impl Unpin for InputConnection
impl UnwindSafe for InputConnection
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