pub struct Adr<'a> {
pub adr: &'a AdrSlice,
}
Expand description
ADR ACPI device path node.
Fields§
§adr: &'a AdrSlice
ADR values. For video output devices the value of this field comes from Table B-2 ACPI 3.0 specification. At least one ADR value is required.
Trait Implementations§
source§impl<'a> BuildNode for Adr<'a>
impl<'a> BuildNode for Adr<'a>
source§fn size_in_bytes(&self) -> Result<u16, BuildError>
fn size_in_bytes(&self) -> Result<u16, BuildError>
Size of the node in bytes, including the standard node
header. Returns
BuildError::NodeTooBig
if the node’s size
does not fit in a u16
.source§fn write_data(&self, out: &mut [MaybeUninit<u8>])
fn write_data(&self, out: &mut [MaybeUninit<u8>])
Write out the node data. Read more
Auto Trait Implementations§
impl<'a> Freeze for Adr<'a>
impl<'a> RefUnwindSafe for Adr<'a>
impl<'a> Send for Adr<'a>
impl<'a> Sync for Adr<'a>
impl<'a> Unpin for Adr<'a>
impl<'a> UnwindSafe for Adr<'a>
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