[−][src]Struct cichlid::power_mgmt::DefaultPowerEstimator
Default estimator.
Trait Implementations
impl PowerEstimator for DefaultPowerEstimator
[src]
const R_mW: u32
[src]
const G_mW: u32
[src]
const B_mW: u32
[src]
const IDLE_mW: u32
[src]
fn estimate(rgb: ColorRGB) -> u32
[src]
Estimates the power consumption in milliwatts.
fn estimate_no_idle(rgb: ColorRGB) -> u32
[src]
Estimates the power consumption in milliwatts without taking into consideration idle power.
fn estimate_strand(strand: &[ColorRGB]) -> u32
[src]
Estimates the power consumption in milliwatts of a strand of ColorRGBs
.
fn estimate_max_brightness(
strand: &[ColorRGB],
target_brightness: u8,
max_power_mW: u32
) -> u8
[src]
strand: &[ColorRGB],
target_brightness: u8,
max_power_mW: u32
) -> u8
Estimates the maximum brightness a strand of pixels can push from a given milli-Watt power limit. Read more
fn estimate_max_brightness_av(
strand: &[ColorRGB],
target_brightness: u8,
max_power_mA: u32,
max_power_mV: u32
) -> u8
[src]
strand: &[ColorRGB],
target_brightness: u8,
max_power_mA: u32,
max_power_mV: u32
) -> u8
Estimates the maximum brightness a strand of pixels can push from a given milli-Volt and milli-Amp limit. Read more
Auto Trait Implementations
impl Send for DefaultPowerEstimator
impl Sync for DefaultPowerEstimator
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,