pub struct CustomTranslator(/* private fields */);Expand description
Custom translator used use for base conversion
Implementations§
Source§impl CustomTranslator
impl CustomTranslator
Sourcepub fn new(custom_alphabet: CustomAlphabet) -> Result<Self, CustomAlphabetError>
pub fn new(custom_alphabet: CustomAlphabet) -> Result<Self, CustomAlphabetError>
Create new custom translator
Auto Trait Implementations§
impl Freeze for CustomTranslator
impl RefUnwindSafe for CustomTranslator
impl Send for CustomTranslator
impl Sync for CustomTranslator
impl Unpin for CustomTranslator
impl UnsafeUnpin for CustomTranslator
impl UnwindSafe for CustomTranslator
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