PIO1_17

Struct PIO1_17 

Source
pub struct PIO1_17(/* private fields */);
Expand description

Identifies a specific pin

This type is used as a type parameter on Pin. Check out Pin’s documentation for more information.

Trait Implementations§

Source§

impl FunctionTrait<PIO1_17> for ACMP_O

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for CLKOUT

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for GPIO_INT_BMAT

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for I2C1_SCL

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for I2C1_SDA

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for I2C2_SCL

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for I2C2_SDA

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for I2C3_SCL

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for I2C3_SDA

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_OUT0

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_OUT1

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_OUT2

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_OUT3

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_OUT4

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_OUT5

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_OUT6

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_PIN0

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_PIN1

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_PIN2

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SCT_PIN3

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI0_MISO

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI0_MOSI

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI0_SCK

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI0_SSEL0

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI0_SSEL1

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI0_SSEL2

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI0_SSEL3

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI1_MISO

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI1_MOSI

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI1_SCK

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI1_SSEL0

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for SPI1_SSEL1

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for T0_CAP0

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for T0_CAP1

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for T0_CAP2

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for T0_MAT0

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for T0_MAT1

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for T0_MAT2

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for T0_MAT3

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U0_CTS

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U0_RTS

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U0_RXD

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U0_SCLK

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U0_TXD

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U1_CTS

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U1_RTS

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U1_RXD

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U1_SCLK

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U1_TXD

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U2_CTS

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U2_RTS

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U2_RXD

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U2_SCLK

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U2_TXD

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U3_RXD

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U3_SCLK

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U3_TXD

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U4_RXD

Source§

type Kind = Input

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U4_SCLK

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl FunctionTrait<PIO1_17> for U4_TXD

Source§

type Kind = Output

Whether this is an input or output function Read more
Source§

fn assign(&mut self, pin: &mut PIO1_17, swm: &mut Handle)

Internal method to assign a function to a pin
Source§

fn unassign(&mut self, _pin: &mut PIO1_17, swm: &mut Handle)

Internal method to unassign a function from a pin
Source§

impl Trait for PIO1_17

Source§

fn port(&self) -> u8

Get the number that indentifies the port Read more
Source§

fn id(&self) -> u8

A number that identifies the pin Read more
Source§

fn mask(&self) -> u32

The pin’s bit mask Read more

Auto Trait Implementations§

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.