Struct aml::AmlName [−][src]
pub struct AmlName(_);
Implementations
Convert a string representation of an AML name into an AmlName
.
An AML path is normal if it does not contain any prefix elements (“^” characters, when expressed as a string).
Special rules apply when searching for certain paths (specifically, those that are made up
of a single name segment). Returns true
if those rules apply.
Normalize an AML path, resolving prefix chars. Returns AmlError::InvalidNormalizedName
if the path
normalizes to an invalid path (e.g. \^_FOO
)
Get the parent of this AmlName
. For example, the parent of \_SB.PCI0._PRT
is \_SB.PCI0
. The root
path has no parent, and so returns None
.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AmlName
impl UnwindSafe for AmlName
Blanket Implementations
Mutably borrows from an owned value. Read more