Struct game::pregame::Screensaver [−][src]
struct Screensaver { line: Line, started: Instant, }
Fields
line: Line
started: Instant
Implementations
impl Screensaver
[src]
impl Screensaver
[src]fn bounce(
ctx: &mut EventCtx<'_>,
app: &mut App,
rng: &mut XorShiftRng
) -> Screensaver
[src]
ctx: &mut EventCtx<'_>,
app: &mut App,
rng: &mut XorShiftRng
) -> Screensaver
fn update(
&mut self,
rng: &mut XorShiftRng,
ctx: &mut EventCtx<'_>,
app: &mut App
)
[src]
&mut self,
rng: &mut XorShiftRng,
ctx: &mut EventCtx<'_>,
app: &mut App
)
Auto Trait Implementations
impl RefUnwindSafe for Screensaver
impl Send for Screensaver
impl Sync for Screensaver
impl Unpin for Screensaver
impl UnwindSafe for Screensaver
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,