pub struct FlowReport {
pub written: usize,
pub overflow: usize,
pub rows: usize,
}Expand description
Only output[..written] is current geometry. Submit that prefix to input and
painting; rebuild input each frame so omitted widgets lose focus/capture.
Fields§
§written: usizeNumber of rectangles copied, matching items[..written] in source order.
overflow: usizeitems.len() - written: includes space overflow and output truncation.
No item is skipped in favor of a smaller later item.
rows: usizeNumber of rows containing copied rectangles, zero when written == 0.
Trait Implementations§
Source§impl Clone for FlowReport
impl Clone for FlowReport
Source§fn clone(&self) -> FlowReport
fn clone(&self) -> FlowReport
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 FlowReport
impl Debug for FlowReport
Source§impl Default for FlowReport
impl Default for FlowReport
Source§fn default() -> FlowReport
fn default() -> FlowReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for FlowReport
impl PartialEq for FlowReport
impl Copy for FlowReport
impl Eq for FlowReport
impl StructuralPartialEq for FlowReport
Auto Trait Implementations§
impl Freeze for FlowReport
impl RefUnwindSafe for FlowReport
impl Send for FlowReport
impl Sync for FlowReport
impl Unpin for FlowReport
impl UnwindSafe for FlowReport
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