pub struct HudRegion {
pub name: &'static str,
pub edge: HudEdge,
pub rect: Rect,
}Expand description
One strip in reservation order. Names are borrowed static labels, never copied into allocated storage. Use the same rectangle for painting and hit testing.
Fields§
§name: &'static str§edge: HudEdge§rect: RectTrait Implementations§
impl Copy for HudRegion
impl StructuralPartialEq for HudRegion
Auto Trait Implementations§
impl Freeze for HudRegion
impl RefUnwindSafe for HudRegion
impl Send for HudRegion
impl Sync for HudRegion
impl Unpin for HudRegion
impl UnwindSafe for HudRegion
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