Struct flipperzero_sys::PowerInfo
source · [−]#[repr(C)]pub struct PowerInfo {Show 13 fields
pub gauge_is_ok: bool,
pub is_charging: bool,
pub current_charger: f32,
pub current_gauge: f32,
pub voltage_charger: f32,
pub voltage_gauge: f32,
pub voltage_vbus: f32,
pub capacity_remaining: u32,
pub capacity_full: u32,
pub temperature_charger: f32,
pub temperature_gauge: f32,
pub charge: u8,
pub health: u8,
}Fields
gauge_is_ok: boolis_charging: boolcurrent_charger: f32current_gauge: f32voltage_charger: f32voltage_gauge: f32voltage_vbus: f32capacity_remaining: u32capacity_full: u32temperature_charger: f32temperature_gauge: f32charge: u8health: u8Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PowerInfo
impl Send for PowerInfo
impl Sync for PowerInfo
impl Unpin for PowerInfo
impl UnwindSafe for PowerInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more