Struct nid::alphabet::Base36Alphabet
source · pub struct Base36Alphabet;
Expand description
Alphabet with A-Z0-9
symbols.
§Example
use nid::{alphabet::Base36Alphabet, Nanoid};
let id: Nanoid<21, Base36Alphabet> = Nanoid::new();
Trait Implementations§
source§impl Alphabet for Base36Alphabet
impl Alphabet for Base36Alphabet
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 Base36Alphabet
impl RefUnwindSafe for Base36Alphabet
impl Send for Base36Alphabet
impl Sync for Base36Alphabet
impl Unpin for Base36Alphabet
impl UnwindSafe for Base36Alphabet
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