pub struct PAdicInteger {
pub p: u64,
pub digits: Vec<u64>,
}Expand description
A p-adic integer represented by its base-p expansion (least significant digit first).
Fields§
§p: u64The prime p.
digits: Vec<u64>Base-p digits, least significant first. Each digit satisfies 0 ≤ digit < p.
Implementations§
Auto Trait Implementations§
impl Freeze for PAdicInteger
impl RefUnwindSafe for PAdicInteger
impl Send for PAdicInteger
impl Sync for PAdicInteger
impl Unpin for PAdicInteger
impl UnsafeUnpin for PAdicInteger
impl UnwindSafe for PAdicInteger
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