pub struct SimulatePowerButton(pub bool);Tuple Fields§
§0: boolTrait Implementations§
Source§impl Debug for SimulatePowerButton
impl Debug for SimulatePowerButton
Source§impl FromScalar<4> for SimulatePowerButton
impl FromScalar<4> for SimulatePowerButton
fn from_scalar(value: [u32; 4]) -> Self
Source§impl MessageId for SimulatePowerButton
impl MessageId for SimulatePowerButton
Source§impl Scalar for SimulatePowerButton
impl Scalar for SimulatePowerButton
fn to_message(&self) -> ScalarMessagewhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for SimulatePowerButton
impl RefUnwindSafe for SimulatePowerButton
impl Send for SimulatePowerButton
impl Sync for SimulatePowerButton
impl Unpin for SimulatePowerButton
impl UnsafeUnpin for SimulatePowerButton
impl UnwindSafe for SimulatePowerButton
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.