pub struct ReplayKeyframeState {
pub budget_bytes: usize,
pub min_interval_frames: u32,
pub effective_interval_frames: u32,
pub allocated_bytes: usize,
}Expand description
Current keyframe-ring policy and memory use.
Fields§
§budget_bytes: usizeMaximum memory retained by native keyframes.
min_interval_frames: u32Finest requested keyframe spacing.
effective_interval_frames: u32Current spacing after any native ring widening.
allocated_bytes: usizeBytes currently allocated by native keyframes.
Trait Implementations§
Source§impl Clone for ReplayKeyframeState
impl Clone for ReplayKeyframeState
Source§fn clone(&self) -> ReplayKeyframeState
fn clone(&self) -> ReplayKeyframeState
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 ReplayKeyframeState
Source§impl Debug for ReplayKeyframeState
impl Debug for ReplayKeyframeState
impl Eq for ReplayKeyframeState
Source§impl PartialEq for ReplayKeyframeState
impl PartialEq for ReplayKeyframeState
impl StructuralPartialEq for ReplayKeyframeState
Auto Trait Implementations§
impl Freeze for ReplayKeyframeState
impl RefUnwindSafe for ReplayKeyframeState
impl Send for ReplayKeyframeState
impl Sync for ReplayKeyframeState
impl Unpin for ReplayKeyframeState
impl UnsafeUnpin for ReplayKeyframeState
impl UnwindSafe for ReplayKeyframeState
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