pub struct BinaryElem64(/* private fields */);Implementations§
Source§impl BinaryElem64
impl BinaryElem64
pub const fn from_value(val: u64) -> Self
Trait Implementations§
Source§impl BinaryFieldElement for BinaryElem64
impl BinaryFieldElement for BinaryElem64
type Poly = BinaryPoly64
fn zero() -> Self
fn one() -> Self
fn from_poly(poly: Self::Poly) -> Self
fn poly(&self) -> Self::Poly
fn add(&self, other: &Self) -> Self
fn mul(&self, other: &Self) -> Self
fn inv(&self) -> Self
fn pow(&self, exp: u64) -> Self
fn from_bits(bits: u64) -> Self
Source§impl Clone for BinaryElem64
impl Clone for BinaryElem64
Source§fn clone(&self) -> BinaryElem64
fn clone(&self) -> BinaryElem64
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinaryElem64
impl Debug for BinaryElem64
Source§impl Default for BinaryElem64
impl Default for BinaryElem64
Source§fn default() -> BinaryElem64
fn default() -> BinaryElem64
Returns the “default value” for a type. Read more
Source§impl From<BinaryElem16> for BinaryElem64
impl From<BinaryElem16> for BinaryElem64
Source§fn from(elem: BinaryElem16) -> Self
fn from(elem: BinaryElem16) -> Self
Converts to this type from the input type.
Source§impl From<BinaryElem32> for BinaryElem64
impl From<BinaryElem32> for BinaryElem64
Source§fn from(elem: BinaryElem32) -> Self
fn from(elem: BinaryElem32) -> Self
Converts to this type from the input type.
Source§impl From<BinaryElem64> for BinaryElem128
impl From<BinaryElem64> for BinaryElem128
Source§fn from(elem: BinaryElem64) -> Self
fn from(elem: BinaryElem64) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BinaryElem64
impl PartialEq for BinaryElem64
impl Copy for BinaryElem64
impl Eq for BinaryElem64
impl Pod for BinaryElem64
impl StructuralPartialEq for BinaryElem64
Auto Trait Implementations§
impl Freeze for BinaryElem64
impl RefUnwindSafe for BinaryElem64
impl Send for BinaryElem64
impl Sync for BinaryElem64
impl Unpin for BinaryElem64
impl UnsafeUnpin for BinaryElem64
impl UnwindSafe for BinaryElem64
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.