pub struct InjectPowerButton(pub bool);Expand description
Injects a power button press or release into gui-server’s power-button state machine.
Tuple Fields§
§0: boolTrait Implementations§
Source§impl Debug for InjectPowerButton
impl Debug for InjectPowerButton
Source§impl FromScalar<4> for InjectPowerButton
impl FromScalar<4> for InjectPowerButton
fn from_scalar(value: [u32; 4]) -> Self
Source§impl MessageId for InjectPowerButton
impl MessageId for InjectPowerButton
Source§impl Scalar for InjectPowerButton
impl Scalar for InjectPowerButton
fn to_message(&self) -> ScalarMessagewhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for InjectPowerButton
impl RefUnwindSafe for InjectPowerButton
impl Send for InjectPowerButton
impl Sync for InjectPowerButton
impl Unpin for InjectPowerButton
impl UnwindSafe for InjectPowerButton
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.