pub struct CommitInfo {
pub seq: u32,
pub slot: u8,
pub dirty: Vec<Rect>,
pub full: bool,
}Expand description
What the last commit published (for tests and diagnostics).
Fields§
§seq: u32The header sequence number the commit carried.
slot: u8The slot published, 0 or 1.
dirty: Vec<Rect>The rectangles sent, in the model’s units.
full: boolThe first commit after a (re)bind: the whole surface.
Trait Implementations§
Source§impl Clone for CommitInfo
impl Clone for CommitInfo
Source§impl Debug for CommitInfo
impl Debug for CommitInfo
impl Eq for CommitInfo
Source§impl PartialEq for CommitInfo
impl PartialEq for CommitInfo
impl StructuralPartialEq for CommitInfo
Auto Trait Implementations§
impl Freeze for CommitInfo
impl RefUnwindSafe for CommitInfo
impl Send for CommitInfo
impl Sync for CommitInfo
impl Unpin for CommitInfo
impl UnsafeUnpin for CommitInfo
impl UnwindSafe for CommitInfo
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