Struct base::sys::linux::acpi_event::AcpiGenlEvent
source · #[repr(C)]struct AcpiGenlEvent {
device_class: [c_char; 20],
bus_id: [c_char; 15],
_type: u32,
data: u32,
}
Fields§
§device_class: [c_char; 20]
§bus_id: [c_char; 15]
§_type: u32
§data: u32
Trait Implementations§
source§impl Clone for AcpiGenlEvent
impl Clone for AcpiGenlEvent
source§fn clone(&self) -> AcpiGenlEvent
fn clone(&self) -> AcpiGenlEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl FromBytes for AcpiGenlEvent
impl FromBytes for AcpiGenlEvent
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeroes for AcpiGenlEvent
impl FromZeroes for AcpiGenlEvent
impl Copy for AcpiGenlEvent
Auto Trait Implementations§
impl RefUnwindSafe for AcpiGenlEvent
impl Send for AcpiGenlEvent
impl Sync for AcpiGenlEvent
impl Unpin for AcpiGenlEvent
impl UnwindSafe for AcpiGenlEvent
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