pub struct Lat1StrF<const N: usize> { /* private fields */ }
Expand description
Latin-1 (aka. ISO 8859-1) of fixed size
Implementations
Methods from Deref<Target = Lat1Str>
Returns the string as slice of bytes.
Returns the string in UTF-8 encoding, only if the string is pure ASCII.
Otherwise, a Lat1Error::NonAscii
is returned.
Returns the string in UTF-8 encoding, only if the string is pure ASCII.
Panics
This function panics if the string contains non-ASCII chars.
Returns the string in UTF-8 encoding.
Safety
If the string contains non-ASCII characters, the returned string will be invalid UTF-8.
Trait Implementations
Auto Trait Implementations
impl<const N: usize> RefUnwindSafe for Lat1StrF<N>
impl<const N: usize> UnwindSafe for Lat1StrF<N>
Blanket Implementations
Mutably borrows from an owned value. Read more