Struct risc0_zkvm::SegmentInfo
source · pub struct SegmentInfo {
pub po2: u32,
pub cycles: u32,
}
Expand description
Provides information about a segment of execution.
Fields§
§po2: u32
The number of cycles used for proving in powers of 2.
cycles: u32
The number of user cycles without any overhead for continuations or po2 padding.
Trait Implementations§
source§impl Clone for SegmentInfo
impl Clone for SegmentInfo
source§fn clone(&self) -> SegmentInfo
fn clone(&self) -> SegmentInfo
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for SegmentInfo
impl Send for SegmentInfo
impl Sync for SegmentInfo
impl Unpin for SegmentInfo
impl UnwindSafe for SegmentInfo
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