pub enum AcpiObjectType {
Any,
Integer,
String,
Buffer,
Package,
Reference,
Processor,
PowerResource,
}
Expand description
A type of an AcpiObject
. This is used when the type of data is known but the value is not.
Variants§
Any
The object can be any type, or the type is not known. From ACPICA comments: “[Any] is used to indicate a NULL package element or an unresolved named reference.”
Integer
The object is an integer
String
The object is a string
Buffer
The object is a buffer of bytes
Package
The object is a package containing other AML data
Reference
The object is a reference to another AcpiObject
Processor
The object describes the features of a processor
PowerResource
The object describes a power resource
Trait Implementations§
Source§impl Clone for AcpiObjectType
impl Clone for AcpiObjectType
Source§fn clone(&self) -> AcpiObjectType
fn clone(&self) -> AcpiObjectType
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 Debug for AcpiObjectType
impl Debug for AcpiObjectType
Source§impl PartialEq for AcpiObjectType
impl PartialEq for AcpiObjectType
impl Copy for AcpiObjectType
impl Eq for AcpiObjectType
impl StructuralPartialEq for AcpiObjectType
Auto Trait Implementations§
impl Freeze for AcpiObjectType
impl RefUnwindSafe for AcpiObjectType
impl Send for AcpiObjectType
impl Sync for AcpiObjectType
impl Unpin for AcpiObjectType
impl UnwindSafe for AcpiObjectType
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