pub struct BatControl {
pub type_: BatteryType,
pub control_tube: Tube,
}Expand description
Used for VM to control battery properties.
Fields§
§type_: BatteryType§control_tube: TubeAuto Trait Implementations§
impl Freeze for BatControl
impl RefUnwindSafe for BatControl
impl Send for BatControl
impl Sync for BatControl
impl Unpin for BatControl
impl UnwindSafe for BatControl
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