pub enum TextEnc<T> {
Ascii(T),
Ebcdic(T),
}
Variants§
Implementations§
Source§impl<const N: usize> TextEnc<[u8; N]>
impl<const N: usize> TextEnc<[u8; N]>
pub const fn into_ascii(self) -> Self
pub const fn into_ebcdic(self) -> Self
Trait Implementations§
impl<T: Copy> Copy for TextEnc<T>
Auto Trait Implementations§
impl<T> Freeze for TextEnc<T>where
T: Freeze,
impl<T> RefUnwindSafe for TextEnc<T>where
T: RefUnwindSafe,
impl<T> Send for TextEnc<T>where
T: Send,
impl<T> Sync for TextEnc<T>where
T: Sync,
impl<T> Unpin for TextEnc<T>where
T: Unpin,
impl<T> UnwindSafe for TextEnc<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more