pub struct Codec<const LEN: usize>;Expand description
Geohash codec
Its LEN must be in range of 1..=12.
This is validated at compile time to ensure you can only use Codec::encode when LEN is correct.
Implementations§
Auto Trait Implementations§
impl<const LEN: usize> Freeze for Codec<LEN>
impl<const LEN: usize> RefUnwindSafe for Codec<LEN>
impl<const LEN: usize> Send for Codec<LEN>
impl<const LEN: usize> Sync for Codec<LEN>
impl<const LEN: usize> Unpin for Codec<LEN>
impl<const LEN: usize> UnsafeUnpin for Codec<LEN>
impl<const LEN: usize> UnwindSafe for Codec<LEN>
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