pub enum CostEstimateSource {
Measured,
AreaFallback,
FixedDefault,
}Expand description
Source of the cost estimate for widget scheduling.
Variants§
Measured
Measured from recent render timings.
AreaFallback
Derived from area-based fallback (cells * cost_per_cell).
FixedDefault
Fixed default when no signals exist.
Trait Implementations§
Source§impl Clone for CostEstimateSource
impl Clone for CostEstimateSource
Source§fn clone(&self) -> CostEstimateSource
fn clone(&self) -> CostEstimateSource
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 CostEstimateSource
impl Debug for CostEstimateSource
Source§impl Default for CostEstimateSource
impl Default for CostEstimateSource
Source§fn default() -> CostEstimateSource
fn default() -> CostEstimateSource
Returns the “default value” for a type. Read more
Source§impl PartialEq for CostEstimateSource
impl PartialEq for CostEstimateSource
impl Copy for CostEstimateSource
impl Eq for CostEstimateSource
impl StructuralPartialEq for CostEstimateSource
Auto Trait Implementations§
impl Freeze for CostEstimateSource
impl RefUnwindSafe for CostEstimateSource
impl Send for CostEstimateSource
impl Sync for CostEstimateSource
impl Unpin for CostEstimateSource
impl UnwindSafe for CostEstimateSource
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