pub struct ByteLogExp { /* private fields */ }Expand description
Opaque discrete-logarithm tables for one degree-eight presentation.
Built from the presentation’s description under its selected generator:
EXP[i] is the generator to the i, and LOG inverts it with
LOG[0] undefined. Only valid degree-eight coordinates carry one.
Implementations§
Source§impl ByteLogExp
impl ByteLogExp
Sourcepub const fn build(description: &BinaryDescription, generator: u64) -> Self
pub const fn build(description: &BinaryDescription, generator: u64) -> Self
Build the log/exp pair for description under generator.
Trait Implementations§
Source§impl Clone for ByteLogExp
impl Clone for ByteLogExp
impl Copy for ByteLogExp
Auto Trait Implementations§
impl Freeze for ByteLogExp
impl RefUnwindSafe for ByteLogExp
impl Send for ByteLogExp
impl Sync for ByteLogExp
impl Unpin for ByteLogExp
impl UnsafeUnpin for ByteLogExp
impl UnwindSafe for ByteLogExp
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