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