struct CodePoint(u8);Tuple Fields§
§0: u8Implementations§
Source§impl CodePoint
 
impl CodePoint
Sourcefn decode_secret(b: u8) -> Self
 
fn decode_secret(b: u8) -> Self
Side-channel rules:
- code paths that produce 
CodePoint(n)must not makenobservable via a side channel. - other code paths – whitespace, padding or invalid – need not, these are not considered secret conditions.
 
const fn decode_public(a: u8) -> Self
Trait Implementations§
impl Copy for CodePoint
impl Eq for CodePoint
impl StructuralPartialEq for CodePoint
Auto Trait Implementations§
impl Freeze for CodePoint
impl RefUnwindSafe for CodePoint
impl Send for CodePoint
impl Sync for CodePoint
impl Unpin for CodePoint
impl UnwindSafe for CodePoint
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