Struct flipperzero_sys::PowerInfo
source · #[repr(C)]pub struct PowerInfo {Show 14 fields
pub gauge_is_ok: bool,
pub is_charging: bool,
pub current_charger: f32,
pub current_gauge: f32,
pub voltage_battery_charge_limit: 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: bool§is_charging: bool§current_charger: f32§current_gauge: f32§voltage_battery_charge_limit: f32§voltage_charger: f32§voltage_gauge: f32§voltage_vbus: f32§capacity_remaining: u32§capacity_full: u32§temperature_charger: f32§temperature_gauge: f32§charge: u8§health: 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§
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