pub struct Refreshable {
pub id: WidgetId,
pub viewport: Rect,
pub spec: RefreshSpec,
}Expand description
One refresh area of the frame: where it is, and what it was configured with.
Fields§
§id: WidgetIdThe area’s identity, which is also the key of its retained pull.
viewport: RectThe box the indicator is drawn in — the child’s, on screen.
spec: RefreshSpecThe widget’s configuration this frame.
Trait Implementations§
Source§impl Clone for Refreshable
impl Clone for Refreshable
impl Copy for Refreshable
Source§impl Debug for Refreshable
impl Debug for Refreshable
Source§impl PartialEq for Refreshable
impl PartialEq for Refreshable
impl StructuralPartialEq for Refreshable
Auto Trait Implementations§
impl Freeze for Refreshable
impl RefUnwindSafe for Refreshable
impl Send for Refreshable
impl Sync for Refreshable
impl Unpin for Refreshable
impl UnsafeUnpin for Refreshable
impl UnwindSafe for Refreshable
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