Type Alias binary_codec_sv2::U32AsRef

source ·
pub type U32AsRef<'a> = Inner<'a, true, 4, 0, 0>;

Aliased Type§

enum U32AsRef<'a> {}

Variants§

Implementations§

source§

impl<'a> U32AsRef<'a>

source

pub fn as_u32(&self) -> u32

Trait Implementations§

source§

impl<'a> Decodable<'a> for U32AsRef<'a>

source§

impl<'a> From<u32> for U32AsRef<'a>

source§

fn from(v: u32) -> Self

Converts to this type from the input type.
source§

impl<'a> TryFrom<DecodableField<'a>> for U32AsRef<'a>

§

type Error = Error

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

fn try_from(value: DecodableField<'a>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> TryFrom<EncodableField<'a>> for U32AsRef<'a>

§

type Error = Error

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

fn try_from(value: EncodableField<'a>) -> Result<Self, Self::Error>

Performs the conversion.