pub struct MinRootState {
x: FieldElement,
y: FieldElement,
iteration: u64,
}Expand description
Input/output state of a MinRoot computation.
Fields§
§x: FieldElement§y: FieldElement§iteration: u64Implementations§
Source§impl MinRootState
impl MinRootState
Sourcepub fn new(x: FieldElement, y: FieldElement) -> Self
pub fn new(x: FieldElement, y: FieldElement) -> Self
Constructs an initial state from x, y coordinates.
Sourcepub fn x(&self) -> FieldElement
pub fn x(&self) -> FieldElement
Returns the current x coordinate.
Sourcepub fn y(&self) -> FieldElement
pub fn y(&self) -> FieldElement
Returns the current y coordinate.
Trait Implementations§
Source§impl Clone for MinRootState
impl Clone for MinRootState
Source§fn clone(&self) -> MinRootState
fn clone(&self) -> MinRootState
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 MinRootState
impl Debug for MinRootState
Source§impl Hash for MinRootState
impl Hash for MinRootState
Source§impl PartialEq for MinRootState
impl PartialEq for MinRootState
impl Copy for MinRootState
impl Eq for MinRootState
impl StructuralPartialEq for MinRootState
Auto Trait Implementations§
impl Freeze for MinRootState
impl RefUnwindSafe for MinRootState
impl Send for MinRootState
impl Sync for MinRootState
impl Unpin for MinRootState
impl UnsafeUnpin for MinRootState
impl UnwindSafe for MinRootState
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