pub struct FpsOverlay {
pub window: Size,
pub layer: OverlayLayer,
}Expand description
The frame counter’s overlay: its layer, and the window it lies in.
Fields§
§window: SizeThe size of the window the layer lies in, in logical pixels.
layer: OverlayLayerThe pill that holds the stats text.
Trait Implementations§
Source§impl Clone for FpsOverlay
impl Clone for FpsOverlay
Auto Trait Implementations§
impl !RefUnwindSafe for FpsOverlay
impl !Send for FpsOverlay
impl !Sync for FpsOverlay
impl !UnwindSafe for FpsOverlay
impl Forget for FpsOverlay
impl Freeze for FpsOverlay
impl Move for FpsOverlay
impl Unpin for FpsOverlay
impl UnsafeUnpin for FpsOverlay
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