FixedUtf32LeCodeUnits

Type Alias FixedUtf32LeCodeUnits 

Source
pub type FixedUtf32LeCodeUnits<const N: usize> = FixedUtf32CodeUnitsEndian<LittleEndian<u32>, N>;
Available on crate features text_fixed and text_utf32 only.

Aliased Type§

pub struct FixedUtf32LeCodeUnits<const N: usize> { /* private fields */ }

Trait Implementations§

Source§

impl<const N: usize> Display for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<const N: usize> EndianRead for FixedUtf32LeCodeUnits<N>

Available on crate feature io-std and (crate features io-core or io-std) only.
Source§

fn read_from<R: Read + ?Sized>(reader: &mut R) -> Result<Self>

Source§

impl<const N: usize> EndianWrite for FixedUtf32LeCodeUnits<N>

Available on crate feature io-std and (crate features io-core or io-std) only.
Source§

fn write_to<W: Write + ?Sized>(&self, writer: &mut W) -> Result<()>

Source§

impl<const N: usize> From<FixedUtf32LeNullPadded<N>> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

fn from(v: FixedUtf32LeNullPadded<N>) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<FixedUtf32LePacked<N>> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

fn from(v: FixedUtf32LePacked<N>) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<FixedUtf32LeSpacePadded<N>> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

fn from(v: FixedUtf32LeSpacePadded<N>) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> FromSlice for FixedUtf32LeCodeUnits<N>

Available on crate feature io-core and (crate features io-core or io-std) only.
Source§

fn read_from_slice(data: &[u8]) -> Result<Self, &'static str>

Source§

fn write_to_extend(&self, out: &mut impl Extend<u8>) -> Result<(), &'static str>

Source§

impl<const N: usize> SpecificEndian<FixedUtf32CodeUnitsEndian<LittleEndian<u32>, N>> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

impl<const N: usize> SpecificEndianOwned for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

type Big = FixedUtf32CodeUnitsEndian<BigEndian<u32>, N>

The big-endian form of this type.
Source§

type Little = FixedUtf32CodeUnitsEndian<LittleEndian<u32>, N>

The little-endian form of this type.
Source§

fn to_big_endian(&self) -> Self::Big

Source§

fn to_little_endian(&self) -> Self::Little

Source§

fn from_big_endian(&self) -> Self::Big

Source§

fn from_little_endian(&self) -> Self::Little

Source§

fn endian(&self) -> Endian

Source§

impl<const N: usize> TryFrom<&[LittleEndian<u32>]> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

type Error = FixedUtf32Error

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

fn try_from(v: &[LittleEndian<u32>]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<&[u32]> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

type Error = FixedUtf32Error

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

fn try_from(v: &[u32]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<&str> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

type Error = FixedUtf32Error

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

fn try_from(s: &str) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<String> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

type Error = FixedUtf32Error

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

fn try_from(s: String) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<Utf32StringLE> for FixedUtf32LeCodeUnits<N>

Available on crate features text_utf8 or text_utf16 or text_utf32 or text_fixed only.
Source§

type Error = FixedUtf32Error

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

fn try_from(v: Utf32StringLE) -> Result<Self, Self::Error>

Performs the conversion.