pub struct ViewSwap {
pub region: RegionId,
pub replacement: ViewHandle,
}Expand description
An update to a live region, returned by View::poll_swap.
Fields§
§region: RegionIdThe region the replacement belongs to.
replacement: ViewHandleThe content that replaces what the region currently shows.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ViewSwap
impl !UnwindSafe for ViewSwap
impl Freeze for ViewSwap
impl Send for ViewSwap
impl Sync for ViewSwap
impl Unpin for ViewSwap
impl UnsafeUnpin for ViewSwap
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