pub struct SpatialEntry {
pub entity_id: EntityId,
pub bounds: Rect,
pub event_listeners: Vec<(EventType, Rc<dyn Fn(Event)>)>,
pub z_index: i32,
pub order: usize,
/* private fields */
}Expand description
An individual spatial entry for an entity in the layout hierarchy.
Fields§
§entity_id: EntityId§bounds: Rect§event_listeners: Vec<(EventType, Rc<dyn Fn(Event)>)>§z_index: i32§order: usizeTrait Implementations§
Source§impl Clone for SpatialEntry
impl Clone for SpatialEntry
Auto Trait Implementations§
impl !RefUnwindSafe for SpatialEntry
impl !Send for SpatialEntry
impl !Sync for SpatialEntry
impl !UnwindSafe for SpatialEntry
impl Forget for SpatialEntry
impl Freeze for SpatialEntry
impl Move for SpatialEntry
impl Unpin for SpatialEntry
impl UnsafeUnpin for SpatialEntry
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