pub enum ObjectType {
Show 17 variants
Uninitialized,
Integer,
String,
Buffer,
Package,
FieldUnit,
Device,
Event,
Method,
Mutex,
OperationRegion,
PowerResource,
Processor,
ThermalZone,
BufferField,
DDBHandle,
DebugObject,
}
Expand description
Type ID returned by ExpressionOpcode::ObjectType
.
Variants§
Uninitialized
Integer
String
Buffer
Package
FieldUnit
Device
Event
Method
Mutex
OperationRegion
PowerResource
Processor
ThermalZone
BufferField
DDBHandle
DebugObject
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
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 ObjectType
impl Debug for ObjectType
Source§impl<'a> Parse<'a> for ObjectType
Values from Table 19-433:
impl<'a> Parse<'a> for ObjectType
Values from Table 19-433:
0 Uninitialized
1 Integer
2 String
3 Buffer
4 Package
5 Field Unit
6 Device
7 Event
8 Method
9 Mutex
10 Operation Region
11 Power Resource
12 Processor
13 Thermal Zone
14 Buffer Field
15 DDB Handle
16 Debug Object
>16 Reserved
Source§fn parse<E: AMLParseError<'a>>(
i: ParserState<'a>,
) -> AMLParseResult<'a, Self, E>
fn parse<E: AMLParseError<'a>>( i: ParserState<'a>, ) -> AMLParseResult<'a, Self, E>
Try to parse an object of this type from the given input and state. Read more
Source§impl PartialEq for ObjectType
impl PartialEq for ObjectType
impl Copy for ObjectType
impl Eq for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
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