Struct rclrust_msg::sensor_msgs::msg::BatteryState_Raw
source · [−]#[repr(C)]pub struct BatteryState_Raw {Show 16 fields
pub header: Header_Raw,
pub voltage: f32,
pub temperature: f32,
pub current: f32,
pub charge: f32,
pub capacity: f32,
pub design_capacity: f32,
pub percentage: f32,
pub power_supply_status: u8,
pub power_supply_health: u8,
pub power_supply_technology: u8,
pub present: bool,
pub cell_voltage: FFISeq<f32>,
pub cell_temperature: FFISeq<f32>,
pub location: FFIString,
pub serial_number: FFIString,
}
Fields
header: Header_Raw
voltage: f32
temperature: f32
current: f32
charge: f32
capacity: f32
design_capacity: f32
percentage: f32
power_supply_status: u8
power_supply_health: u8
power_supply_technology: u8
present: bool
cell_voltage: FFISeq<f32>
cell_temperature: FFISeq<f32>
location: FFIString
serial_number: FFIString
Trait Implementations
sourceimpl Debug for BatteryState_Raw
impl Debug for BatteryState_Raw
sourceimpl Default for BatteryState_Raw
impl Default for BatteryState_Raw
sourceimpl Drop for BatteryState_Raw
impl Drop for BatteryState_Raw
sourceimpl FFIToRust for BatteryState_Raw
impl FFIToRust for BatteryState_Raw
type Target = BatteryState
unsafe fn to_rust(&self) -> Self::Target
impl Send for BatteryState_Raw
impl Sync for BatteryState_Raw
Auto Trait Implementations
impl RefUnwindSafe for BatteryState_Raw
impl Unpin for BatteryState_Raw
impl UnwindSafe for BatteryState_Raw
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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