pub struct FallbackCharset<C: Charset, const FALLBACK_CODE: u8>(pub C);Tuple Fields§
§0: CImplementations§
Source§impl<C: Charset, const FALLBACK_CODE: u8> FallbackCharset<C, FALLBACK_CODE>
impl<C: Charset, const FALLBACK_CODE: u8> FallbackCharset<C, FALLBACK_CODE>
pub fn char_to_code(&self, c: char) -> u8
Auto Trait Implementations§
impl<C, const FALLBACK_CODE: u8> Freeze for FallbackCharset<C, FALLBACK_CODE>where
C: Freeze,
impl<C, const FALLBACK_CODE: u8> RefUnwindSafe for FallbackCharset<C, FALLBACK_CODE>where
C: RefUnwindSafe,
impl<C, const FALLBACK_CODE: u8> Send for FallbackCharset<C, FALLBACK_CODE>where
C: Send,
impl<C, const FALLBACK_CODE: u8> Sync for FallbackCharset<C, FALLBACK_CODE>where
C: Sync,
impl<C, const FALLBACK_CODE: u8> Unpin for FallbackCharset<C, FALLBACK_CODE>where
C: Unpin,
impl<C, const FALLBACK_CODE: u8> UnwindSafe for FallbackCharset<C, FALLBACK_CODE>where
C: 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