Enum peripherals::example::periph::CfgFlag [−][src]
pub enum CfgFlag { False, True, }
Expand description
Some flag
Variants
Trait Implementations
impl TryFrom<u16> for CfgFlag
[src]
impl TryFrom<u16> for CfgFlag
[src]type Error = InvalidValue
type Error = InvalidValue
The type returned in the event of a conversion error.
fn try_from(value: u16) -> Result<CfgFlag, InvalidValue>
[src]
fn try_from(value: u16) -> Result<CfgFlag, InvalidValue>
[src]Performs the conversion.