Struct ch59x::W

source ·
pub struct W<REG: RegisterSpec + ?Sized> { /* private fields */ }
Expand description

Register writer.

Used as an argument to the closures in the write and modify methods of the register.

Implementations§

source§

impl<REG: RegisterSpec> W<REG>

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl From<W<ADC_AUTO_CYCLE_SPEC>> for W

source§

fn from(writer: W<ADC_AUTO_CYCLE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<ADC_CFG_SPEC>> for W

source§

fn from(writer: W<ADC_CFG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<ADC_CHANNEL_SPEC>> for W

source§

fn from(writer: W<ADC_CHANNEL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<ADC_CONVERT_SPEC>> for W

source§

fn from(writer: W<ADC_CONVERT_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<ADC_CTRL_DMA_SPEC>> for W

source§

fn from(writer: W<ADC_CTRL_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<ADC_DMA_BEG_SPEC>> for W

source§

fn from(writer: W<ADC_DMA_BEG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<ADC_DMA_END_SPEC>> for W

source§

fn from(writer: W<ADC_DMA_END_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<ADC_DMA_IF_SPEC>> for W

source§

fn from(writer: W<ADC_DMA_IF_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<AUX_POWER_ADJ_SPEC>> for W

source§

fn from(writer: W<AUX_POWER_ADJ_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<BAT_DET_CFG_SPEC>> for W

source§

fn from(writer: W<BAT_DET_CFG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<BAT_DET_CTRL_SPEC>> for W

source§

fn from(writer: W<BAT_DET_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<CK32K_CONFIG_SPEC>> for W

source§

fn from(writer: W<CK32K_CONFIG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<CLK_SYS_CFG_SPEC>> for W

source§

fn from(writer: W<CLK_SYS_CFG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<GLOB_RESET_KEEP_SPEC>> for W

source§

fn from(writer: W<GLOB_RESET_KEEP_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<I2C_CKCFGR_SPEC>> for W

source§

fn from(writer: W<I2C_CKCFGR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<I2C_CTRL1_SPEC>> for W

source§

fn from(writer: W<I2C_CTRL1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<I2C_CTRL2_SPEC>> for W

source§

fn from(writer: W<I2C_CTRL2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<I2C_DATAR_SPEC>> for W

source§

fn from(writer: W<I2C_DATAR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<I2C_OADDR1_SPEC>> for W

source§

fn from(writer: W<I2C_OADDR1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<I2C_OADDR2_SPEC>> for W

source§

fn from(writer: W<I2C_OADDR2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<I2C_RTR_SPEC>> for W

source§

fn from(writer: W<I2C_RTR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<INT32K_TUNE_SPEC>> for W

source§

fn from(writer: W<INT32K_TUNE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<LCD_CMD_SPEC>> for W

source§

fn from(writer: W<LCD_CMD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<LCD_RAM0_SPEC>> for W

source§

fn from(writer: W<LCD_RAM0_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<LCD_RAM1_SPEC>> for W

source§

fn from(writer: W<LCD_RAM1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<LCD_RAM2_SPEC>> for W

source§

fn from(writer: W<LCD_RAM2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<OSC_CAL_CTRL_SPEC>> for W

source§

fn from(writer: W<OSC_CAL_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PA_CLR_SPEC>> for W

source§

fn from(writer: W<PA_CLR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PA_DIR_SPEC>> for W

source§

fn from(writer: W<PA_DIR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PA_INT_EN_SPEC>> for W

source§

fn from(writer: W<PA_INT_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PA_INT_IF_SPEC>> for W

source§

fn from(writer: W<PA_INT_IF_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PA_INT_MODE_SPEC>> for W

source§

fn from(writer: W<PA_INT_MODE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PA_OUT_SPEC>> for W

source§

fn from(writer: W<PA_OUT_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PA_PD_DRV_SPEC>> for W

source§

fn from(writer: W<PA_PD_DRV_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PA_PU_SPEC>> for W

source§

fn from(writer: W<PA_PU_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PB_CLR_SPEC>> for W

source§

fn from(writer: W<PB_CLR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PB_DIR_SPEC>> for W

source§

fn from(writer: W<PB_DIR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PB_INT_EN_SPEC>> for W

source§

fn from(writer: W<PB_INT_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PB_INT_IF_SPEC>> for W

source§

fn from(writer: W<PB_INT_IF_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PB_INT_MODE_SPEC>> for W

source§

fn from(writer: W<PB_INT_MODE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PB_OUT_SPEC>> for W

source§

fn from(writer: W<PB_OUT_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PB_PD_DRV_SPEC>> for W

source§

fn from(writer: W<PB_PD_DRV_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PB_PU_SPEC>> for W

source§

fn from(writer: W<PB_PU_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_CFGR_SPEC>> for W

source§

fn from(writer: W<PFIC_CFGR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_FIADDRR0_SPEC>> for W

source§

fn from(writer: W<PFIC_FIADDRR0_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_FIADDRR1_SPEC>> for W

source§

fn from(writer: W<PFIC_FIADDRR1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_FIADDRR2_SPEC>> for W

source§

fn from(writer: W<PFIC_FIADDRR2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_FIADDRR3_SPEC>> for W

source§

fn from(writer: W<PFIC_FIADDRR3_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IACTR1_SPEC>> for W

source§

fn from(writer: W<PFIC_IACTR1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IACTR2_SPEC>> for W

source§

fn from(writer: W<PFIC_IACTR2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IDCFGR_SPEC>> for W

source§

fn from(writer: W<PFIC_IDCFGR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IENR1_SPEC>> for W

source§

fn from(writer: W<PFIC_IENR1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IENR2_SPEC>> for W

source§

fn from(writer: W<PFIC_IENR2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR0_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR0_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR10_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR10_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR11_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR11_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR12_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR12_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR13_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR13_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR14_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR14_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR15_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR15_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR16_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR16_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR17_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR17_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR18_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR18_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR19_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR19_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR1_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR20_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR20_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR21_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR21_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR22_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR22_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR23_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR23_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR24_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR24_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR25_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR25_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR26_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR26_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR27_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR27_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR28_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR28_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR29_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR29_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR2_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR30_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR30_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR31_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR31_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR32_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR32_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR33_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR33_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR34_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR34_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR35_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR35_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR36_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR36_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR37_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR37_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR38_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR38_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR39_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR39_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR3_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR3_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR40_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR40_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR41_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR41_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR42_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR42_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR43_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR43_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR44_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR44_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR45_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR45_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR46_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR46_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR47_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR47_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR48_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR48_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR49_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR49_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR4_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR4_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR50_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR50_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR51_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR51_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR52_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR52_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR53_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR53_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR54_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR54_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR55_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR55_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR56_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR56_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR57_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR57_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR58_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR58_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR59_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR59_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR5_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR5_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR60_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR60_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR61_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR61_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR62_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR62_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR63_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR63_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR6_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR6_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR7_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR7_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR8_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR8_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRIOR9_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRIOR9_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRR1_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRR1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPRR2_SPEC>> for W

source§

fn from(writer: W<PFIC_IPRR2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPSR1_SPEC>> for W

source§

fn from(writer: W<PFIC_IPSR1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IPSR2_SPEC>> for W

source§

fn from(writer: W<PFIC_IPSR2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IRER1_SPEC>> for W

source§

fn from(writer: W<PFIC_IRER1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_IRER2_SPEC>> for W

source§

fn from(writer: W<PFIC_IRER2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_ITHRESDR_SPEC>> for W

source§

fn from(writer: W<PFIC_ITHRESDR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PFIC_SCTLR_SPEC>> for W

source§

fn from(writer: W<PFIC_SCTLR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PIN_ALTERNATE_SPEC>> for W

source§

fn from(writer: W<PIN_ALTERNATE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PIN_ANALOG_IE_SPEC>> for W

source§

fn from(writer: W<PIN_ANALOG_IE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PIN_CONFIG2_SPEC>> for W

source§

fn from(writer: W<PIN_CONFIG2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PLL_CONFIG_SPEC>> for W

source§

fn from(writer: W<PLL_CONFIG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<POWER_PLAN_SPEC>> for W

source§

fn from(writer: W<POWER_PLAN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM10_DATA_SPEC>> for W

source§

fn from(writer: W<PWM10_DATA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM11_DATA_SPEC>> for W

source§

fn from(writer: W<PWM11_DATA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM4_DATA_SPEC>> for W

source§

fn from(writer: W<PWM4_DATA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM5_DATA_SPEC>> for W

source§

fn from(writer: W<PWM5_DATA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM6_DATA_SPEC>> for W

source§

fn from(writer: W<PWM6_DATA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM7_DATA_SPEC>> for W

source§

fn from(writer: W<PWM7_DATA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM8_DATA_SPEC>> for W

source§

fn from(writer: W<PWM8_DATA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM9_DATA_SPEC>> for W

source§

fn from(writer: W<PWM9_DATA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM_CLOCK_DIV_SPEC>> for W

source§

fn from(writer: W<PWM_CLOCK_DIV_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM_CONFIG_SPEC>> for W

source§

fn from(writer: W<PWM_CONFIG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM_INT_CTRL_SPEC>> for W

source§

fn from(writer: W<PWM_INT_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM_OUT_EN_SPEC>> for W

source§

fn from(writer: W<PWM_OUT_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM_POLAR_SPEC>> for W

source§

fn from(writer: W<PWM_POLAR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM_REG_CYCLE_SPEC>> for W

source§

fn from(writer: W<PWM_REG_CYCLE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<PWM_REG_DATA8_SPEC>> for W

source§

fn from(writer: W<PWM_REG_DATA8_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<RST_WDOG_CTRL_SPEC>> for W

source§

fn from(writer: W<RST_WDOG_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<RTC_FLAG_CTRL_SPEC>> for W

source§

fn from(writer: W<RTC_FLAG_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<RTC_MODE_CTRL_SPEC>> for W

source§

fn from(writer: W<RTC_MODE_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<RTC_TRIG_SPEC>> for W

source§

fn from(writer: W<RTC_TRIG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SAFE_ACCESS_SIG_SPEC>> for W

source§

fn from(writer: W<SAFE_ACCESS_SIG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SLEEP_CTRL2_SPEC>> for W

source§

fn from(writer: W<SLEEP_CTRL2_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SLP_CLK_OFF0_SPEC>> for W

source§

fn from(writer: W<SLP_CLK_OFF0_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SLP_CLK_OFF1_SPEC>> for W

source§

fn from(writer: W<SLP_CLK_OFF1_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SLP_POWER_CTRL_SPEC>> for W

source§

fn from(writer: W<SLP_POWER_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SLP_WAKE_CTRL_SPEC>> for W

source§

fn from(writer: W<SLP_WAKE_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_BUFFER_SPEC>> for W

source§

fn from(writer: W<SPI0_BUFFER_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_CLOCK_DIV_R8_SPI0_SLAVE_PRE_SPEC>> for W

source§

fn from(writer: W<SPI0_CLOCK_DIV_R8_SPI0_SLAVE_PRE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_CTRL_CFG_SPEC>> for W

source§

fn from(writer: W<SPI0_CTRL_CFG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_CTRL_MOD_SPEC>> for W

source§

fn from(writer: W<SPI0_CTRL_MOD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_DMA_BEG_SPEC>> for W

source§

fn from(writer: W<SPI0_DMA_BEG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_DMA_END_SPEC>> for W

source§

fn from(writer: W<SPI0_DMA_END_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_DMA_NOW_SPEC>> for W

source§

fn from(writer: W<SPI0_DMA_NOW_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_FIFO_COUNT_SPEC>> for W

source§

fn from(writer: W<SPI0_FIFO_COUNT_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_FIFO_SPEC>> for W

source§

fn from(writer: W<SPI0_FIFO_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_INTER_EN_SPEC>> for W

source§

fn from(writer: W<SPI0_INTER_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_INT_FLAG_SPEC>> for W

source§

fn from(writer: W<SPI0_INT_FLAG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<SPI0_TOTAL_CNT_SPEC>> for W

source§

fn from(writer: W<SPI0_TOTAL_CNT_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<STK_CMPHR_SPEC>> for W

source§

fn from(writer: W<STK_CMPHR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<STK_CMPLR_SPEC>> for W

source§

fn from(writer: W<STK_CMPLR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<STK_CNTH_SPEC>> for W

source§

fn from(writer: W<STK_CNTH_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<STK_CNTL_SPEC>> for W

source§

fn from(writer: W<STK_CNTL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<STK_CTLR_SPEC>> for W

source§

fn from(writer: W<STK_CTLR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<STK_SR_SPEC>> for W

source§

fn from(writer: W<STK_SR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TEM_SENSOR_SPEC>> for W

source§

fn from(writer: W<TEM_SENSOR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TKEY_CFG_SPEC>> for W

source§

fn from(writer: W<TKEY_CFG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TKEY_CONVERT_SPEC>> for W

source§

fn from(writer: W<TKEY_CONVERT_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TKEY_COUNT_SPEC>> for W

source§

fn from(writer: W<TKEY_COUNT_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR0_CNT_END_SPEC>> for W

source§

fn from(writer: W<TMR0_CNT_END_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR0_CTRL_MOD_SPEC>> for W

source§

fn from(writer: W<TMR0_CTRL_MOD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR0_INTER_EN_SPEC>> for W

source§

fn from(writer: W<TMR0_INTER_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR0_INT_FLAG_SPEC>> for W

source§

fn from(writer: W<TMR0_INT_FLAG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR1_CNT_END_SPEC>> for W

source§

fn from(writer: W<TMR1_CNT_END_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR1_CTRL_DMA_SPEC>> for W

source§

fn from(writer: W<TMR1_CTRL_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR1_CTRL_MOD_SPEC>> for W

source§

fn from(writer: W<TMR1_CTRL_MOD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR1_DMA_BEG_SPEC>> for W

source§

fn from(writer: W<TMR1_DMA_BEG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR1_DMA_END_SPEC>> for W

source§

fn from(writer: W<TMR1_DMA_END_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR1_INTER_EN_SPEC>> for W

source§

fn from(writer: W<TMR1_INTER_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR1_INT_FLAG_SPEC>> for W

source§

fn from(writer: W<TMR1_INT_FLAG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR2_CNT_END_SPEC>> for W

source§

fn from(writer: W<TMR2_CNT_END_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR2_CTRL_DMA_SPEC>> for W

source§

fn from(writer: W<TMR2_CTRL_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR2_CTRL_MOD_SPEC>> for W

source§

fn from(writer: W<TMR2_CTRL_MOD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR2_DMA_BEG_SPEC>> for W

source§

fn from(writer: W<TMR2_DMA_BEG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR2_DMA_END_SPEC>> for W

source§

fn from(writer: W<TMR2_DMA_END_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR2_FIFO_SPEC>> for W

source§

fn from(writer: W<TMR2_FIFO_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR2_INTER_EN_SPEC>> for W

source§

fn from(writer: W<TMR2_INTER_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR2_INT_FLAG_SPEC>> for W

source§

fn from(writer: W<TMR2_INT_FLAG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR3_CNT_END_SPEC>> for W

source§

fn from(writer: W<TMR3_CNT_END_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR3_CTRL_MOD_SPEC>> for W

source§

fn from(writer: W<TMR3_CTRL_MOD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR3_FIFO_SPEC>> for W

source§

fn from(writer: W<TMR3_FIFO_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR3_INTER_EN_SPEC>> for W

source§

fn from(writer: W<TMR3_INTER_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<TMR3_INT_FLAG_SPEC>> for W

source§

fn from(writer: W<TMR3_INT_FLAG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART0_ADR_SPEC>> for W

source§

fn from(writer: W<UART0_ADR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART0_DIV_SPEC>> for W

source§

fn from(writer: W<UART0_DIV_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART0_DL_SPEC>> for W

source§

fn from(writer: W<UART0_DL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART0_FCR_SPEC>> for W

source§

fn from(writer: W<UART0_FCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART0_IER_SPEC>> for W

source§

fn from(writer: W<UART0_IER_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART0_LCR_SPEC>> for W

source§

fn from(writer: W<UART0_LCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART0_MCR_SPEC>> for W

source§

fn from(writer: W<UART0_MCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART0_THR_SPEC>> for W

source§

fn from(writer: W<UART0_THR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART1_DIV_SPEC>> for W

source§

fn from(writer: W<UART1_DIV_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART1_DL_SPEC>> for W

source§

fn from(writer: W<UART1_DL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART1_FCR_SPEC>> for W

source§

fn from(writer: W<UART1_FCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART1_IER_SPEC>> for W

source§

fn from(writer: W<UART1_IER_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART1_LCR_SPEC>> for W

source§

fn from(writer: W<UART1_LCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART1_MCR_SPEC>> for W

source§

fn from(writer: W<UART1_MCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART1_THR_SPEC>> for W

source§

fn from(writer: W<UART1_THR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART2_DIV_SPEC>> for W

source§

fn from(writer: W<UART2_DIV_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART2_DL_SPEC>> for W

source§

fn from(writer: W<UART2_DL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART2_FCR_SPEC>> for W

source§

fn from(writer: W<UART2_FCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART2_IER_SPEC>> for W

source§

fn from(writer: W<UART2_IER_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART2_LCR_SPEC>> for W

source§

fn from(writer: W<UART2_LCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART2_MCR_SPEC>> for W

source§

fn from(writer: W<UART2_MCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART2_THR_SPEC>> for W

source§

fn from(writer: W<UART2_THR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART3_DIV_SPEC>> for W

source§

fn from(writer: W<UART3_DIV_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART3_DL_SPEC>> for W

source§

fn from(writer: W<UART3_DL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART3_FCR_SPEC>> for W

source§

fn from(writer: W<UART3_FCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART3_IER_SPEC>> for W

source§

fn from(writer: W<UART3_IER_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART3_LCR_SPEC>> for W

source§

fn from(writer: W<UART3_LCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART3_MCR_SPEC>> for W

source§

fn from(writer: W<UART3_MCR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UART3_THR_SPEC>> for W

source§

fn from(writer: W<UART3_THR_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UDEV_CTRL_SPEC>> for W

source§

fn from(writer: W<UDEV_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP0_CTRL_SPEC>> for W

source§

fn from(writer: W<UEP0_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP0_DMA_SPEC>> for W

source§

fn from(writer: W<UEP0_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP0_T_LEN_SPEC>> for W

source§

fn from(writer: W<UEP0_T_LEN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP1_CTRL_SPEC>> for W

source§

fn from(writer: W<UEP1_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP1_DMA_SPEC>> for W

source§

fn from(writer: W<UEP1_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP1_T_LEN_SPEC>> for W

source§

fn from(writer: W<UEP1_T_LEN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP2_3_MOD_SPEC>> for W

source§

fn from(writer: W<UEP2_3_MOD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP2_CTRL_SPEC>> for W

source§

fn from(writer: W<UEP2_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP2_DMA_SPEC>> for W

source§

fn from(writer: W<UEP2_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP2_T_LEN_SPEC>> for W

source§

fn from(writer: W<UEP2_T_LEN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP3_CTRL_SPEC>> for W

source§

fn from(writer: W<UEP3_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP3_DMA_SPEC>> for W

source§

fn from(writer: W<UEP3_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP3_T_LEN_SPEC>> for W

source§

fn from(writer: W<UEP3_T_LEN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP4_1_MOD_SPEC>> for W

source§

fn from(writer: W<UEP4_1_MOD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP4_CTRL_SPEC>> for W

source§

fn from(writer: W<UEP4_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP4_T_LEN_SPEC>> for W

source§

fn from(writer: W<UEP4_T_LEN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP567_MOD_SPEC>> for W

source§

fn from(writer: W<UEP567_MOD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP5_CTRL_SPEC>> for W

source§

fn from(writer: W<UEP5_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP5_DMA_SPEC>> for W

source§

fn from(writer: W<UEP5_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP5_T_LEN_SPEC>> for W

source§

fn from(writer: W<UEP5_T_LEN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP6_CTRL_SPEC>> for W

source§

fn from(writer: W<UEP6_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP6_DMA_SPEC>> for W

source§

fn from(writer: W<UEP6_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP6_T_LEN_SPEC>> for W

source§

fn from(writer: W<UEP6_T_LEN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP7_CTRL_SPEC>> for W

source§

fn from(writer: W<UEP7_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP7_DMA_SPEC>> for W

source§

fn from(writer: W<UEP7_DMA_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<UEP7_T_LEN_SPEC>> for W

source§

fn from(writer: W<UEP7_T_LEN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<USB_CTRL_SPEC>> for W

source§

fn from(writer: W<USB_CTRL_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<USB_DEV_AD_SPEC>> for W

source§

fn from(writer: W<USB_DEV_AD_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<USB_INT_EN_SPEC>> for W

source§

fn from(writer: W<USB_INT_EN_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<USB_INT_FG_SPEC>> for W

source§

fn from(writer: W<USB_INT_FG_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<WDOG_COUNT_SPEC>> for W

source§

fn from(writer: W<WDOG_COUNT_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<XT32K_TUNE_SPEC>> for W

source§

fn from(writer: W<XT32K_TUNE_SPEC>) -> Self

Converts to this type from the input type.
source§

impl From<W<XT32M_TUNE_SPEC>> for W

source§

fn from(writer: W<XT32M_TUNE_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<REG: ?Sized> RefUnwindSafe for W<REG>where REG: RefUnwindSafe, <REG as RegisterSpec>::Ux: RefUnwindSafe,

§

impl<REG: ?Sized> Send for W<REG>where REG: Send, <REG as RegisterSpec>::Ux: Send,

§

impl<REG: ?Sized> Sync for W<REG>where REG: Sync, <REG as RegisterSpec>::Ux: Sync,

§

impl<REG: ?Sized> Unpin for W<REG>where REG: Unpin, <REG as RegisterSpec>::Ux: Unpin,

§

impl<REG: ?Sized> UnwindSafe for W<REG>where REG: UnwindSafe, <REG as RegisterSpec>::Ux: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.