pub struct HandoffBudgetConfig { /* private fields */ }Expand description
Budget slicing and deferred resource reclamation settings for HandoffCoordinator.
Implementations§
Source§impl HandoffBudgetConfig
impl HandoffBudgetConfig
pub fn get_warmup_steps_required(&self) -> u32
pub fn get_mut_warmup_steps_required(&mut self) -> &mut u32
pub fn set_warmup_steps_required(&mut self, val: u32) -> &mut Self
pub fn get_per_frame_budget_ms(&self) -> f64
pub fn get_mut_per_frame_budget_ms(&mut self) -> &mut f64
pub fn set_per_frame_budget_ms(&mut self, val: f64) -> &mut Self
pub fn get_max_warmup_timeout_ms(&self) -> u64
pub fn get_mut_max_warmup_timeout_ms(&mut self) -> &mut u64
pub fn set_max_warmup_timeout_ms(&mut self, val: u64) -> &mut Self
pub fn get_post_commit_fence_frames(&self) -> u32
pub fn get_mut_post_commit_fence_frames(&mut self) -> &mut u32
pub fn set_post_commit_fence_frames(&mut self, val: u32) -> &mut Self
Trait Implementations§
Source§impl Clone for HandoffBudgetConfig
impl Clone for HandoffBudgetConfig
impl Copy for HandoffBudgetConfig
Source§impl Debug for HandoffBudgetConfig
impl Debug for HandoffBudgetConfig
Source§impl Default for HandoffBudgetConfig
Default budget-sliced warmup and deferred-release settings for HandoffBudgetConfig.
impl Default for HandoffBudgetConfig
Default budget-sliced warmup and deferred-release settings for HandoffBudgetConfig.
Source§impl PartialEq for HandoffBudgetConfig
impl PartialEq for HandoffBudgetConfig
impl StructuralPartialEq for HandoffBudgetConfig
Auto Trait Implementations§
impl Forget for HandoffBudgetConfig
impl Freeze for HandoffBudgetConfig
impl Move for HandoffBudgetConfig
impl RefUnwindSafe for HandoffBudgetConfig
impl Send for HandoffBudgetConfig
impl Sync for HandoffBudgetConfig
impl Unpin for HandoffBudgetConfig
impl UnsafeUnpin for HandoffBudgetConfig
impl UnwindSafe for HandoffBudgetConfig
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