FixedUtf32BeCodeUnits

Type Alias FixedUtf32BeCodeUnits 

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

Aliased Type§

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

Trait Implementations§

Source§

impl<const N: usize> Display for FixedUtf32BeCodeUnits<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 FixedUtf32BeCodeUnits<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 FixedUtf32BeCodeUnits<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<FixedUtf32BeNullPadded<N>> for FixedUtf32BeCodeUnits<N>

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

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

Converts to this type from the input type.
Source§

impl<const N: usize> From<FixedUtf32BePacked<N>> for FixedUtf32BeCodeUnits<N>

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

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

Converts to this type from the input type.
Source§

impl<const N: usize> From<FixedUtf32BeSpacePadded<N>> for FixedUtf32BeCodeUnits<N>

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

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

Converts to this type from the input type.
Source§

impl<const N: usize> FromSlice for FixedUtf32BeCodeUnits<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<BigEndian<u32>, N>> for FixedUtf32BeCodeUnits<N>

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

impl<const N: usize> SpecificEndianOwned for FixedUtf32BeCodeUnits<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<&[BigEndian<u32>]> for FixedUtf32BeCodeUnits<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: &[BigEndian<u32>]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<&[u32]> for FixedUtf32BeCodeUnits<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 FixedUtf32BeCodeUnits<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 FixedUtf32BeCodeUnits<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<Utf32StringBE> for FixedUtf32BeCodeUnits<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: Utf32StringBE) -> Result<Self, Self::Error>

Performs the conversion.