pub struct FrameStats {
pub total_frames: usize,
pub free_frames: usize,
pub used_frames: usize,
pub total_memory: usize,
pub free_memory: usize,
pub used_memory: usize,
}Expand description
Frame statistics
Fields§
§total_frames: usizeTotal number of frames in the system
free_frames: usizeNumber of free frames
used_frames: usizeNumber of used frames
total_memory: usizeTotal memory in bytes
free_memory: usizeFree memory in bytes
used_memory: usizeUsed memory in bytes
Trait Implementations§
Source§impl Clone for FrameStats
impl Clone for FrameStats
Source§fn clone(&self) -> FrameStats
fn clone(&self) -> FrameStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameStats
impl Debug for FrameStats
impl Copy for FrameStats
Auto Trait Implementations§
impl Freeze for FrameStats
impl RefUnwindSafe for FrameStats
impl Send for FrameStats
impl Sync for FrameStats
impl Unpin for FrameStats
impl UnwindSafe for FrameStats
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