pub struct Simple(/* private fields */);Expand description
Format a Yyid as a simple string, like
c49b79f522d4dc42f214f4209c80d048.
Implementations§
Source§impl Simple
impl Simple
Sourcepub fn encode_lower<'buf>(&self, buffer: &'buf mut [u8]) -> &'buf mut str
pub fn encode_lower<'buf>(&self, buffer: &'buf mut [u8]) -> &'buf mut str
Writes the Yyid as a lower-case simple string to
buffer, and returns the subslice of the buffer that contains the
encoded YYID.
Sourcepub fn encode_upper<'buf>(&self, buffer: &'buf mut [u8]) -> &'buf mut str
pub fn encode_upper<'buf>(&self, buffer: &'buf mut [u8]) -> &'buf mut str
Writes the Yyid as a upper-case simple string to
buffer, and returns the subslice of the buffer that contains the
encoded YYID.
Trait Implementations§
Source§impl Ord for Simple
impl Ord for Simple
Source§impl PartialOrd for Simple
impl PartialOrd for Simple
impl Copy for Simple
impl Eq for Simple
impl StructuralPartialEq for Simple
Auto Trait Implementations§
impl Freeze for Simple
impl RefUnwindSafe for Simple
impl Send for Simple
impl Sync for Simple
impl Unpin for Simple
impl UnwindSafe for Simple
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