#[non_exhaustive]pub struct Window {
pub first_layer: u32,
pub end_layer: u32,
pub commit_start: u32,
pub commit_end: u32,
pub phase: usize,
pub waits_for: Vec<usize>,
}Expand description
A window of a window decoder: it decodes rounds first_layer..end_layer and commits the
corrections in commit_start..commit_end.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.first_layer: u32The first round it decodes.
end_layer: u32One past the last round it decodes.
commit_start: u32The first round it commits.
commit_end: u32One past the last round it commits.
phase: usizeThe phase it runs in (phase 0 first).
waits_for: Vec<usize>The windows whose commits it waits for.
Trait Implementations§
impl Eq for Window
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnsafeUnpin for Window
impl UnwindSafe for Window
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