pub struct BinaryPoly128(/* private fields */);Implementations§
Source§impl BinaryPoly128
impl BinaryPoly128
pub const fn new(val: u128) -> Self
pub fn value(&self) -> u128
pub fn truncate_to_64(&self) -> BinaryPoly64
pub fn split(&self) -> (BinaryPoly64, BinaryPoly64)
pub fn leading_zeros(&self) -> u32
pub fn mul_full(&self, other: &Self) -> BinaryPoly256
Trait Implementations§
Source§impl BinaryPolynomial for BinaryPoly128
impl BinaryPolynomial for BinaryPoly128
Source§impl Clone for BinaryPoly128
impl Clone for BinaryPoly128
Source§fn clone(&self) -> BinaryPoly128
fn clone(&self) -> BinaryPoly128
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 BinaryPoly128
impl Debug for BinaryPoly128
Source§impl Default for BinaryPoly128
impl Default for BinaryPoly128
Source§fn default() -> BinaryPoly128
fn default() -> BinaryPoly128
Returns the “default value” for a type. Read more
Source§impl From<u128> for BinaryPoly128
impl From<u128> for BinaryPoly128
Source§impl PartialEq for BinaryPoly128
impl PartialEq for BinaryPoly128
impl Copy for BinaryPoly128
impl Eq for BinaryPoly128
impl Pod for BinaryPoly128
impl StructuralPartialEq for BinaryPoly128
Auto Trait Implementations§
impl Freeze for BinaryPoly128
impl RefUnwindSafe for BinaryPoly128
impl Send for BinaryPoly128
impl Sync for BinaryPoly128
impl Unpin for BinaryPoly128
impl UnsafeUnpin for BinaryPoly128
impl UnwindSafe for BinaryPoly128
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.