Struct nid::alphabet::Base32LowercaseAlphabet
source · pub struct Base32LowercaseAlphabet;
Expand description
Alphabet with a-z2-7
symbols.
§Example
use nid::{alphabet::Base32LowercaseAlphabet, Nanoid};
let id: Nanoid<21, Base32LowercaseAlphabet> = Nanoid::new();
Trait Implementations§
source§impl Alphabet for Base32LowercaseAlphabet
impl Alphabet for Base32LowercaseAlphabet
source§const SYMBOL_LIST: &'static [u8] = b"abcdefghijklmnopqrstuvwxyz234567"
const SYMBOL_LIST: &'static [u8] = b"abcdefghijklmnopqrstuvwxyz234567"
The symbols that can be used in Nano ID. Symbols are represented as
u8
values.Auto Trait Implementations§
impl Freeze for Base32LowercaseAlphabet
impl RefUnwindSafe for Base32LowercaseAlphabet
impl Send for Base32LowercaseAlphabet
impl Sync for Base32LowercaseAlphabet
impl Unpin for Base32LowercaseAlphabet
impl UnwindSafe for Base32LowercaseAlphabet
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