pub struct HeroSpot {
pub tag: u64,
pub screen: u8,
pub id: WidgetId,
pub rect: Rect,
}Expand description
A hero seen by the render driver: which tag, which screen of the transition it belongs to, and where it sits.
Fields§
§tag: u64The shared tag.
screen: u80 = the screen being left, 1 = the one being entered. Outside a transition
there is no flight and this is meaningless.
id: WidgetIdThe widget’s identity.
rect: RectWhere it sits, in absolute coordinates.
Trait Implementations§
impl Copy for HeroSpot
impl StructuralPartialEq for HeroSpot
Auto Trait Implementations§
impl Freeze for HeroSpot
impl RefUnwindSafe for HeroSpot
impl Send for HeroSpot
impl Sync for HeroSpot
impl Unpin for HeroSpot
impl UnsafeUnpin for HeroSpot
impl UnwindSafe for HeroSpot
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