embassy-stm32

Crates

git

Versions

stm32h7r7i8

Flavors

embassy_stm32::gpio

Struct AnyPin

Source
pub struct AnyPin { /* private fields */ }
Expand description

Type-erased GPIO pin

Implementations§

Source§

impl AnyPin

Source

pub unsafe fn steal(pin_port: u8) -> Self

Unsafely create an AnyPin from a pin+port number.

pin_port is port_num * 16 + pin_num, where port_num is 0 for port A, 1 for port B, etc…

Source

pub fn block(&self) -> Gpio

Get the GPIO register block for this pin.

Trait Implementations§

Source§

impl From<PA0> for AnyPin

Source§

fn from(x: PA0) -> Self

Converts to this type from the input type.
Source§

impl From<PA1> for AnyPin

Source§

fn from(x: PA1) -> Self

Converts to this type from the input type.
Source§

impl From<PA10> for AnyPin

Source§

fn from(x: PA10) -> Self

Converts to this type from the input type.
Source§

impl From<PA11> for AnyPin

Source§

fn from(x: PA11) -> Self

Converts to this type from the input type.
Source§

impl From<PA12> for AnyPin

Source§

fn from(x: PA12) -> Self

Converts to this type from the input type.
Source§

impl From<PA13> for AnyPin

Source§

fn from(x: PA13) -> Self

Converts to this type from the input type.
Source§

impl From<PA14> for AnyPin

Source§

fn from(x: PA14) -> Self

Converts to this type from the input type.
Source§

impl From<PA15> for AnyPin

Source§

fn from(x: PA15) -> Self

Converts to this type from the input type.
Source§

impl From<PA2> for AnyPin

Source§

fn from(x: PA2) -> Self

Converts to this type from the input type.
Source§

impl From<PA3> for AnyPin

Source§

fn from(x: PA3) -> Self

Converts to this type from the input type.
Source§

impl From<PA4> for AnyPin

Source§

fn from(x: PA4) -> Self

Converts to this type from the input type.
Source§

impl From<PA5> for AnyPin

Source§

fn from(x: PA5) -> Self

Converts to this type from the input type.
Source§

impl From<PA6> for AnyPin

Source§

fn from(x: PA6) -> Self

Converts to this type from the input type.
Source§

impl From<PA7> for AnyPin

Source§

fn from(x: PA7) -> Self

Converts to this type from the input type.
Source§

impl From<PA8> for AnyPin

Source§

fn from(x: PA8) -> Self

Converts to this type from the input type.
Source§

impl From<PA9> for AnyPin

Source§

fn from(x: PA9) -> Self

Converts to this type from the input type.
Source§

impl From<PB0> for AnyPin

Source§

fn from(x: PB0) -> Self

Converts to this type from the input type.
Source§

impl From<PB1> for AnyPin

Source§

fn from(x: PB1) -> Self

Converts to this type from the input type.
Source§

impl From<PB10> for AnyPin

Source§

fn from(x: PB10) -> Self

Converts to this type from the input type.
Source§

impl From<PB11> for AnyPin

Source§

fn from(x: PB11) -> Self

Converts to this type from the input type.
Source§

impl From<PB12> for AnyPin

Source§

fn from(x: PB12) -> Self

Converts to this type from the input type.
Source§

impl From<PB13> for AnyPin

Source§

fn from(x: PB13) -> Self

Converts to this type from the input type.
Source§

impl From<PB14> for AnyPin

Source§

fn from(x: PB14) -> Self

Converts to this type from the input type.
Source§

impl From<PB15> for AnyPin

Source§

fn from(x: PB15) -> Self

Converts to this type from the input type.
Source§

impl From<PB2> for AnyPin

Source§

fn from(x: PB2) -> Self

Converts to this type from the input type.
Source§

impl From<PB3> for AnyPin

Source§

fn from(x: PB3) -> Self

Converts to this type from the input type.
Source§

impl From<PB4> for AnyPin

Source§

fn from(x: PB4) -> Self

Converts to this type from the input type.
Source§

impl From<PB5> for AnyPin

Source§

fn from(x: PB5) -> Self

Converts to this type from the input type.
Source§

impl From<PB6> for AnyPin

Source§

fn from(x: PB6) -> Self

Converts to this type from the input type.
Source§

impl From<PB7> for AnyPin

Source§

fn from(x: PB7) -> Self

Converts to this type from the input type.
Source§

impl From<PB8> for AnyPin

Source§

fn from(x: PB8) -> Self

Converts to this type from the input type.
Source§

impl From<PB9> for AnyPin

Source§

fn from(x: PB9) -> Self

Converts to this type from the input type.
Source§

impl From<PC0> for AnyPin

Source§

fn from(x: PC0) -> Self

Converts to this type from the input type.
Source§

impl From<PC1> for AnyPin

Source§

fn from(x: PC1) -> Self

Converts to this type from the input type.
Source§

impl From<PC10> for AnyPin

Source§

fn from(x: PC10) -> Self

Converts to this type from the input type.
Source§

impl From<PC11> for AnyPin

Source§

fn from(x: PC11) -> Self

Converts to this type from the input type.
Source§

impl From<PC12> for AnyPin

Source§

fn from(x: PC12) -> Self

Converts to this type from the input type.
Source§

impl From<PC13> for AnyPin

Source§

fn from(x: PC13) -> Self

Converts to this type from the input type.
Source§

impl From<PC14> for AnyPin

Source§

fn from(x: PC14) -> Self

Converts to this type from the input type.
Source§

impl From<PC15> for AnyPin

Source§

fn from(x: PC15) -> Self

Converts to this type from the input type.
Source§

impl From<PC2> for AnyPin

Source§

fn from(x: PC2) -> Self

Converts to this type from the input type.
Source§

impl From<PC3> for AnyPin

Source§

fn from(x: PC3) -> Self

Converts to this type from the input type.
Source§

impl From<PC4> for AnyPin

Source§

fn from(x: PC4) -> Self

Converts to this type from the input type.
Source§

impl From<PC5> for AnyPin

Source§

fn from(x: PC5) -> Self

Converts to this type from the input type.
Source§

impl From<PC6> for AnyPin

Source§

fn from(x: PC6) -> Self

Converts to this type from the input type.
Source§

impl From<PC7> for AnyPin

Source§

fn from(x: PC7) -> Self

Converts to this type from the input type.
Source§

impl From<PC8> for AnyPin

Source§

fn from(x: PC8) -> Self

Converts to this type from the input type.
Source§

impl From<PC9> for AnyPin

Source§

fn from(x: PC9) -> Self

Converts to this type from the input type.
Source§

impl From<PD0> for AnyPin

Source§

fn from(x: PD0) -> Self

Converts to this type from the input type.
Source§

impl From<PD1> for AnyPin

Source§

fn from(x: PD1) -> Self

Converts to this type from the input type.
Source§

impl From<PD10> for AnyPin

Source§

fn from(x: PD10) -> Self

Converts to this type from the input type.
Source§

impl From<PD11> for AnyPin

Source§

fn from(x: PD11) -> Self

Converts to this type from the input type.
Source§

impl From<PD12> for AnyPin

Source§

fn from(x: PD12) -> Self

Converts to this type from the input type.
Source§

impl From<PD13> for AnyPin

Source§

fn from(x: PD13) -> Self

Converts to this type from the input type.
Source§

impl From<PD14> for AnyPin

Source§

fn from(x: PD14) -> Self

Converts to this type from the input type.
Source§

impl From<PD15> for AnyPin

Source§

fn from(x: PD15) -> Self

Converts to this type from the input type.
Source§

impl From<PD2> for AnyPin

Source§

fn from(x: PD2) -> Self

Converts to this type from the input type.
Source§

impl From<PD3> for AnyPin

Source§

fn from(x: PD3) -> Self

Converts to this type from the input type.
Source§

impl From<PD4> for AnyPin

Source§

fn from(x: PD4) -> Self

Converts to this type from the input type.
Source§

impl From<PD5> for AnyPin

Source§

fn from(x: PD5) -> Self

Converts to this type from the input type.
Source§

impl From<PD6> for AnyPin

Source§

fn from(x: PD6) -> Self

Converts to this type from the input type.
Source§

impl From<PD7> for AnyPin

Source§

fn from(x: PD7) -> Self

Converts to this type from the input type.
Source§

impl From<PD8> for AnyPin

Source§

fn from(x: PD8) -> Self

Converts to this type from the input type.
Source§

impl From<PD9> for AnyPin

Source§

fn from(x: PD9) -> Self

Converts to this type from the input type.
Source§

impl From<PE0> for AnyPin

Source§

fn from(x: PE0) -> Self

Converts to this type from the input type.
Source§

impl From<PE1> for AnyPin

Source§

fn from(x: PE1) -> Self

Converts to this type from the input type.
Source§

impl From<PE10> for AnyPin

Source§

fn from(x: PE10) -> Self

Converts to this type from the input type.
Source§

impl From<PE11> for AnyPin

Source§

fn from(x: PE11) -> Self

Converts to this type from the input type.
Source§

impl From<PE12> for AnyPin

Source§

fn from(x: PE12) -> Self

Converts to this type from the input type.
Source§

impl From<PE13> for AnyPin

Source§

fn from(x: PE13) -> Self

Converts to this type from the input type.
Source§

impl From<PE14> for AnyPin

Source§

fn from(x: PE14) -> Self

Converts to this type from the input type.
Source§

impl From<PE15> for AnyPin

Source§

fn from(x: PE15) -> Self

Converts to this type from the input type.
Source§

impl From<PE2> for AnyPin

Source§

fn from(x: PE2) -> Self

Converts to this type from the input type.
Source§

impl From<PE3> for AnyPin

Source§

fn from(x: PE3) -> Self

Converts to this type from the input type.
Source§

impl From<PE4> for AnyPin

Source§

fn from(x: PE4) -> Self

Converts to this type from the input type.
Source§

impl From<PE5> for AnyPin

Source§

fn from(x: PE5) -> Self

Converts to this type from the input type.
Source§

impl From<PE6> for AnyPin

Source§

fn from(x: PE6) -> Self

Converts to this type from the input type.
Source§

impl From<PE7> for AnyPin

Source§

fn from(x: PE7) -> Self

Converts to this type from the input type.
Source§

impl From<PE8> for AnyPin

Source§

fn from(x: PE8) -> Self

Converts to this type from the input type.
Source§

impl From<PE9> for AnyPin

Source§

fn from(x: PE9) -> Self

Converts to this type from the input type.
Source§

impl From<PF0> for AnyPin

Source§

fn from(x: PF0) -> Self

Converts to this type from the input type.
Source§

impl From<PF1> for AnyPin

Source§

fn from(x: PF1) -> Self

Converts to this type from the input type.
Source§

impl From<PF10> for AnyPin

Source§

fn from(x: PF10) -> Self

Converts to this type from the input type.
Source§

impl From<PF11> for AnyPin

Source§

fn from(x: PF11) -> Self

Converts to this type from the input type.
Source§

impl From<PF12> for AnyPin

Source§

fn from(x: PF12) -> Self

Converts to this type from the input type.
Source§

impl From<PF13> for AnyPin

Source§

fn from(x: PF13) -> Self

Converts to this type from the input type.
Source§

impl From<PF14> for AnyPin

Source§

fn from(x: PF14) -> Self

Converts to this type from the input type.
Source§

impl From<PF15> for AnyPin

Source§

fn from(x: PF15) -> Self

Converts to this type from the input type.
Source§

impl From<PF2> for AnyPin

Source§

fn from(x: PF2) -> Self

Converts to this type from the input type.
Source§

impl From<PF3> for AnyPin

Source§

fn from(x: PF3) -> Self

Converts to this type from the input type.
Source§

impl From<PF4> for AnyPin

Source§

fn from(x: PF4) -> Self

Converts to this type from the input type.
Source§

impl From<PF5> for AnyPin

Source§

fn from(x: PF5) -> Self

Converts to this type from the input type.
Source§

impl From<PF6> for AnyPin

Source§

fn from(x: PF6) -> Self

Converts to this type from the input type.
Source§

impl From<PF7> for AnyPin

Source§

fn from(x: PF7) -> Self

Converts to this type from the input type.
Source§

impl From<PF8> for AnyPin

Source§

fn from(x: PF8) -> Self

Converts to this type from the input type.
Source§

impl From<PF9> for AnyPin

Source§

fn from(x: PF9) -> Self

Converts to this type from the input type.
Source§

impl From<PG0> for AnyPin

Source§

fn from(x: PG0) -> Self

Converts to this type from the input type.
Source§

impl From<PG1> for AnyPin

Source§

fn from(x: PG1) -> Self

Converts to this type from the input type.
Source§

impl From<PG10> for AnyPin

Source§

fn from(x: PG10) -> Self

Converts to this type from the input type.
Source§

impl From<PG11> for AnyPin

Source§

fn from(x: PG11) -> Self

Converts to this type from the input type.
Source§

impl From<PG12> for AnyPin

Source§

fn from(x: PG12) -> Self

Converts to this type from the input type.
Source§

impl From<PG13> for AnyPin

Source§

fn from(x: PG13) -> Self

Converts to this type from the input type.
Source§

impl From<PG14> for AnyPin

Source§

fn from(x: PG14) -> Self

Converts to this type from the input type.
Source§

impl From<PG15> for AnyPin

Source§

fn from(x: PG15) -> Self

Converts to this type from the input type.
Source§

impl From<PG2> for AnyPin

Source§

fn from(x: PG2) -> Self

Converts to this type from the input type.
Source§

impl From<PG3> for AnyPin

Source§

fn from(x: PG3) -> Self

Converts to this type from the input type.
Source§

impl From<PG4> for AnyPin

Source§

fn from(x: PG4) -> Self

Converts to this type from the input type.
Source§

impl From<PG5> for AnyPin

Source§

fn from(x: PG5) -> Self

Converts to this type from the input type.
Source§

impl From<PG6> for AnyPin

Source§

fn from(x: PG6) -> Self

Converts to this type from the input type.
Source§

impl From<PG7> for AnyPin

Source§

fn from(x: PG7) -> Self

Converts to this type from the input type.
Source§

impl From<PG8> for AnyPin

Source§

fn from(x: PG8) -> Self

Converts to this type from the input type.
Source§

impl From<PG9> for AnyPin

Source§

fn from(x: PG9) -> Self

Converts to this type from the input type.
Source§

impl From<PH0> for AnyPin

Source§

fn from(x: PH0) -> Self

Converts to this type from the input type.
Source§

impl From<PH1> for AnyPin

Source§

fn from(x: PH1) -> Self

Converts to this type from the input type.
Source§

impl From<PH10> for AnyPin

Source§

fn from(x: PH10) -> Self

Converts to this type from the input type.
Source§

impl From<PH11> for AnyPin

Source§

fn from(x: PH11) -> Self

Converts to this type from the input type.
Source§

impl From<PH12> for AnyPin

Source§

fn from(x: PH12) -> Self

Converts to this type from the input type.
Source§

impl From<PH13> for AnyPin

Source§

fn from(x: PH13) -> Self

Converts to this type from the input type.
Source§

impl From<PH14> for AnyPin

Source§

fn from(x: PH14) -> Self

Converts to this type from the input type.
Source§

impl From<PH15> for AnyPin

Source§

fn from(x: PH15) -> Self

Converts to this type from the input type.
Source§

impl From<PH2> for AnyPin

Source§

fn from(x: PH2) -> Self

Converts to this type from the input type.
Source§

impl From<PH3> for AnyPin

Source§

fn from(x: PH3) -> Self

Converts to this type from the input type.
Source§

impl From<PH4> for AnyPin

Source§

fn from(x: PH4) -> Self

Converts to this type from the input type.
Source§

impl From<PH5> for AnyPin

Source§

fn from(x: PH5) -> Self

Converts to this type from the input type.
Source§

impl From<PH6> for AnyPin

Source§

fn from(x: PH6) -> Self

Converts to this type from the input type.
Source§

impl From<PH7> for AnyPin

Source§

fn from(x: PH7) -> Self

Converts to this type from the input type.
Source§

impl From<PH8> for AnyPin

Source§

fn from(x: PH8) -> Self

Converts to this type from the input type.
Source§

impl From<PH9> for AnyPin

Source§

fn from(x: PH9) -> Self

Converts to this type from the input type.
Source§

impl From<PM0> for AnyPin

Source§

fn from(x: PM0) -> Self

Converts to this type from the input type.
Source§

impl From<PM1> for AnyPin

Source§

fn from(x: PM1) -> Self

Converts to this type from the input type.
Source§

impl From<PM10> for AnyPin

Source§

fn from(x: PM10) -> Self

Converts to this type from the input type.
Source§

impl From<PM11> for AnyPin

Source§

fn from(x: PM11) -> Self

Converts to this type from the input type.
Source§

impl From<PM12> for AnyPin

Source§

fn from(x: PM12) -> Self

Converts to this type from the input type.
Source§

impl From<PM13> for AnyPin

Source§

fn from(x: PM13) -> Self

Converts to this type from the input type.
Source§

impl From<PM14> for AnyPin

Source§

fn from(x: PM14) -> Self

Converts to this type from the input type.
Source§

impl From<PM15> for AnyPin

Source§

fn from(x: PM15) -> Self

Converts to this type from the input type.
Source§

impl From<PM2> for AnyPin

Source§

fn from(x: PM2) -> Self

Converts to this type from the input type.
Source§

impl From<PM3> for AnyPin

Source§

fn from(x: PM3) -> Self

Converts to this type from the input type.
Source§

impl From<PM4> for AnyPin

Source§

fn from(x: PM4) -> Self

Converts to this type from the input type.
Source§

impl From<PM5> for AnyPin

Source§

fn from(x: PM5) -> Self

Converts to this type from the input type.
Source§

impl From<PM6> for AnyPin

Source§

fn from(x: PM6) -> Self

Converts to this type from the input type.
Source§

impl From<PM7> for AnyPin

Source§

fn from(x: PM7) -> Self

Converts to this type from the input type.
Source§

impl From<PM8> for AnyPin

Source§

fn from(x: PM8) -> Self

Converts to this type from the input type.
Source§

impl From<PM9> for AnyPin

Source§

fn from(x: PM9) -> Self

Converts to this type from the input type.
Source§

impl From<PN0> for AnyPin

Source§

fn from(x: PN0) -> Self

Converts to this type from the input type.
Source§

impl From<PN1> for AnyPin

Source§

fn from(x: PN1) -> Self

Converts to this type from the input type.
Source§

impl From<PN10> for AnyPin

Source§

fn from(x: PN10) -> Self

Converts to this type from the input type.
Source§

impl From<PN11> for AnyPin

Source§

fn from(x: PN11) -> Self

Converts to this type from the input type.
Source§

impl From<PN12> for AnyPin

Source§

fn from(x: PN12) -> Self

Converts to this type from the input type.
Source§

impl From<PN13> for AnyPin

Source§

fn from(x: PN13) -> Self

Converts to this type from the input type.
Source§

impl From<PN14> for AnyPin

Source§

fn from(x: PN14) -> Self

Converts to this type from the input type.
Source§

impl From<PN15> for AnyPin

Source§

fn from(x: PN15) -> Self

Converts to this type from the input type.
Source§

impl From<PN2> for AnyPin

Source§

fn from(x: PN2) -> Self

Converts to this type from the input type.
Source§

impl From<PN3> for AnyPin

Source§

fn from(x: PN3) -> Self

Converts to this type from the input type.
Source§

impl From<PN4> for AnyPin

Source§

fn from(x: PN4) -> Self

Converts to this type from the input type.
Source§

impl From<PN5> for AnyPin

Source§

fn from(x: PN5) -> Self

Converts to this type from the input type.
Source§

impl From<PN6> for AnyPin

Source§

fn from(x: PN6) -> Self

Converts to this type from the input type.
Source§

impl From<PN7> for AnyPin

Source§

fn from(x: PN7) -> Self

Converts to this type from the input type.
Source§

impl From<PN8> for AnyPin

Source§

fn from(x: PN8) -> Self

Converts to this type from the input type.
Source§

impl From<PN9> for AnyPin

Source§

fn from(x: PN9) -> Self

Converts to this type from the input type.
Source§

impl From<PO0> for AnyPin

Source§

fn from(x: PO0) -> Self

Converts to this type from the input type.
Source§

impl From<PO1> for AnyPin

Source§

fn from(x: PO1) -> Self

Converts to this type from the input type.
Source§

impl From<PO10> for AnyPin

Source§

fn from(x: PO10) -> Self

Converts to this type from the input type.
Source§

impl From<PO11> for AnyPin

Source§

fn from(x: PO11) -> Self

Converts to this type from the input type.
Source§

impl From<PO12> for AnyPin

Source§

fn from(x: PO12) -> Self

Converts to this type from the input type.
Source§

impl From<PO13> for AnyPin

Source§

fn from(x: PO13) -> Self

Converts to this type from the input type.
Source§

impl From<PO14> for AnyPin

Source§

fn from(x: PO14) -> Self

Converts to this type from the input type.
Source§

impl From<PO15> for AnyPin

Source§

fn from(x: PO15) -> Self

Converts to this type from the input type.
Source§

impl From<PO2> for AnyPin

Source§

fn from(x: PO2) -> Self

Converts to this type from the input type.
Source§

impl From<PO3> for AnyPin

Source§

fn from(x: PO3) -> Self

Converts to this type from the input type.
Source§

impl From<PO4> for AnyPin

Source§

fn from(x: PO4) -> Self

Converts to this type from the input type.
Source§

impl From<PO5> for AnyPin

Source§

fn from(x: PO5) -> Self

Converts to this type from the input type.
Source§

impl From<PO6> for AnyPin

Source§

fn from(x: PO6) -> Self

Converts to this type from the input type.
Source§

impl From<PO7> for AnyPin

Source§

fn from(x: PO7) -> Self

Converts to this type from the input type.
Source§

impl From<PO8> for AnyPin

Source§

fn from(x: PO8) -> Self

Converts to this type from the input type.
Source§

impl From<PO9> for AnyPin

Source§

fn from(x: PO9) -> Self

Converts to this type from the input type.
Source§

impl From<PP0> for AnyPin

Source§

fn from(x: PP0) -> Self

Converts to this type from the input type.
Source§

impl From<PP1> for AnyPin

Source§

fn from(x: PP1) -> Self

Converts to this type from the input type.
Source§

impl From<PP10> for AnyPin

Source§

fn from(x: PP10) -> Self

Converts to this type from the input type.
Source§

impl From<PP11> for AnyPin

Source§

fn from(x: PP11) -> Self

Converts to this type from the input type.
Source§

impl From<PP12> for AnyPin

Source§

fn from(x: PP12) -> Self

Converts to this type from the input type.
Source§

impl From<PP13> for AnyPin

Source§

fn from(x: PP13) -> Self

Converts to this type from the input type.
Source§

impl From<PP14> for AnyPin

Source§

fn from(x: PP14) -> Self

Converts to this type from the input type.
Source§

impl From<PP15> for AnyPin

Source§

fn from(x: PP15) -> Self

Converts to this type from the input type.
Source§

impl From<PP2> for AnyPin

Source§

fn from(x: PP2) -> Self

Converts to this type from the input type.
Source§

impl From<PP3> for AnyPin

Source§

fn from(x: PP3) -> Self

Converts to this type from the input type.
Source§

impl From<PP4> for AnyPin

Source§

fn from(x: PP4) -> Self

Converts to this type from the input type.
Source§

impl From<PP5> for AnyPin

Source§

fn from(x: PP5) -> Self

Converts to this type from the input type.
Source§

impl From<PP6> for AnyPin

Source§

fn from(x: PP6) -> Self

Converts to this type from the input type.
Source§

impl From<PP7> for AnyPin

Source§

fn from(x: PP7) -> Self

Converts to this type from the input type.
Source§

impl From<PP8> for AnyPin

Source§

fn from(x: PP8) -> Self

Converts to this type from the input type.
Source§

impl From<PP9> for AnyPin

Source§

fn from(x: PP9) -> Self

Converts to this type from the input type.
Source§

impl Peripheral for AnyPin

Source§

type P = AnyPin

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&self) -> Self::P

Unsafely clone (duplicate) a peripheral singleton. Read more
Source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more
Source§

impl Pin for AnyPin

Source§

type ExtiChannel = AnyChannel

EXTI channel assigned to this pin. Read more
Source§

fn pin(&self) -> u8

Number of the pin within the port (0..31)
Source§

fn port(&self) -> u8

Port of the pin
Source§

fn degrade(self) -> AnyPin

Type-erase (degrade) this pin into an AnyPin. Read more

Auto Trait Implementations§

§

impl Freeze for AnyPin

§

impl RefUnwindSafe for AnyPin

§

impl Send for AnyPin

§

impl Sync for AnyPin

§

impl Unpin for AnyPin

§

impl UnwindSafe for AnyPin

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.