pub struct ShortWindow {
pub window_secs: f64,
pub frame_secs: f64,
pub least_secs: f64,
}Expand description
The window holds fewer than LEAST_FRAMES frames; least_secs is the least that holds
them at this frame.
Fields§
§window_secs: f64§frame_secs: f64§least_secs: f64Trait Implementations§
Source§impl Clone for ShortWindow
impl Clone for ShortWindow
Source§fn clone(&self) -> ShortWindow
fn clone(&self) -> ShortWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShortWindow
Source§impl Debug for ShortWindow
impl Debug for ShortWindow
Source§impl PartialEq for ShortWindow
impl PartialEq for ShortWindow
impl StructuralPartialEq for ShortWindow
Auto Trait Implementations§
impl Freeze for ShortWindow
impl RefUnwindSafe for ShortWindow
impl Send for ShortWindow
impl Sync for ShortWindow
impl Unpin for ShortWindow
impl UnsafeUnpin for ShortWindow
impl UnwindSafe for ShortWindow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more