pub struct AdaptiveDecision { /* private fields */ }Expand description
Structured decision returned by AdaptiveRenderRouter stages.
Implementations§
Source§impl AdaptiveDecision
Fault-tag inspection helper for AdaptiveDecision.
impl AdaptiveDecision
Fault-tag inspection helper for AdaptiveDecision.
Sourcepub fn fault_tag_value(&self) -> Option<FaultEventKind>
pub fn fault_tag_value(&self) -> Option<FaultEventKind>
Source§impl AdaptiveDecision
impl AdaptiveDecision
pub fn get_kind(&self) -> AdaptiveDecisionKind
pub fn get_mut_kind(&mut self) -> &mut AdaptiveDecisionKind
pub fn set_kind(&mut self, val: AdaptiveDecisionKind) -> &mut Self
pub fn get_active_candidate(&self) -> RenderBackendCandidate
pub fn get_mut_active_candidate(&mut self) -> &mut RenderBackendCandidate
pub fn set_active_candidate(&mut self, val: RenderBackendCandidate) -> &mut Self
pub fn get_recommended_candidate(&self) -> RenderBackendCandidate
pub fn get_mut_recommended_candidate(&mut self) -> &mut RenderBackendCandidate
pub fn set_recommended_candidate( &mut self, val: RenderBackendCandidate, ) -> &mut Self
pub fn get_applied(&self) -> bool
pub fn get_mut_applied(&mut self) -> &mut bool
pub fn set_applied(&mut self, val: bool) -> &mut Self
pub fn get_reason(&self) -> &'static str
pub fn get_mut_reason(&mut self) -> &mut &'static str
pub fn set_reason(&mut self, val: &'static str) -> &mut Self
pub fn get_preserve_last_valid_frame(&self) -> bool
pub fn get_mut_preserve_last_valid_frame(&mut self) -> &mut bool
pub fn set_preserve_last_valid_frame(&mut self, val: bool) -> &mut Self
pub fn get_mut_fault_tag(&mut self) -> &mut Option<FaultEventKind>
pub fn set_fault_tag(&mut self, val: Option<FaultEventKind>) -> &mut Self
Trait Implementations§
Source§impl Clone for AdaptiveDecision
impl Clone for AdaptiveDecision
impl Copy for AdaptiveDecision
Source§impl Debug for AdaptiveDecision
impl Debug for AdaptiveDecision
impl Eq for AdaptiveDecision
Source§impl Hash for AdaptiveDecision
impl Hash for AdaptiveDecision
Source§impl PartialEq for AdaptiveDecision
impl PartialEq for AdaptiveDecision
impl StructuralPartialEq for AdaptiveDecision
Auto Trait Implementations§
impl Forget for AdaptiveDecision
impl Freeze for AdaptiveDecision
impl Move for AdaptiveDecision
impl RefUnwindSafe for AdaptiveDecision
impl Send for AdaptiveDecision
impl Sync for AdaptiveDecision
impl Unpin for AdaptiveDecision
impl UnsafeUnpin for AdaptiveDecisionwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for AdaptiveDecisionwhere
&'static str: UnwindSafe,
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