pub struct TestScene;Expand description
The scene used by TestRenderer.
Trait Implementations§
Source§impl RenderScene for TestScene
impl RenderScene for TestScene
type HitTarget = TestHitTarget
fn clear(&mut self)
Source§fn hit_test(&self, _x: f32, _y: f32) -> Vec<Self::HitTarget>
fn hit_test(&self, _x: f32, _y: f32) -> Vec<Self::HitTarget>
Performs hit testing at the given coordinates.
Returns hit targets ordered by z-index (top-to-bottom).
Auto Trait Implementations§
impl Freeze for TestScene
impl RefUnwindSafe for TestScene
impl Send for TestScene
impl Sync for TestScene
impl Unpin for TestScene
impl UnsafeUnpin for TestScene
impl UnwindSafe for TestScene
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