pub struct SetBatteryPercent(/* private fields */);Trait Implementations§
Source§impl Debug for SetBatteryPercent
impl Debug for SetBatteryPercent
Source§impl FromScalar<4> for SetBatteryPercent
impl FromScalar<4> for SetBatteryPercent
fn from_scalar(value: [u32; 4]) -> Self
Source§impl MessageId for SetBatteryPercent
impl MessageId for SetBatteryPercent
Source§impl Scalar for SetBatteryPercent
impl Scalar for SetBatteryPercent
fn to_message(&self) -> ScalarMessagewhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for SetBatteryPercent
impl RefUnwindSafe for SetBatteryPercent
impl Send for SetBatteryPercent
impl Sync for SetBatteryPercent
impl Unpin for SetBatteryPercent
impl UnsafeUnpin for SetBatteryPercent
impl UnwindSafe for SetBatteryPercent
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.