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 (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 CostEstimateSource
Source§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
impl Eq for CostEstimateSource
Source§impl PartialEq for CostEstimateSource
impl PartialEq for CostEstimateSource
Source§fn eq(&self, other: &CostEstimateSource) -> bool
fn eq(&self, other: &CostEstimateSource) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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