pub struct ExtendedField<T: Copy, const MIN_REVISION: u8>(/* private fields */);Expand description
Represents a field which may or may not be present within an ACPI structure, depending on the version of ACPI that a system supports. If the field is not present, it is not safe to treat the data as initialised.
Implementations§
Trait Implementations§
Source§impl<T: Clone + Copy, const MIN_REVISION: u8> Clone for ExtendedField<T, MIN_REVISION>
impl<T: Clone + Copy, const MIN_REVISION: u8> Clone for ExtendedField<T, MIN_REVISION>
Source§fn clone(&self) -> ExtendedField<T, MIN_REVISION>
fn clone(&self) -> ExtendedField<T, MIN_REVISION>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug + Copy, const MIN_REVISION: u8> Debug for ExtendedField<T, MIN_REVISION>
impl<T: Debug + Copy, const MIN_REVISION: u8> Debug for ExtendedField<T, MIN_REVISION>
impl<T: Copy + Copy, const MIN_REVISION: u8> Copy for ExtendedField<T, MIN_REVISION>
Auto Trait Implementations§
impl<T, const MIN_REVISION: u8> Freeze for ExtendedField<T, MIN_REVISION>where
T: Freeze,
impl<T, const MIN_REVISION: u8> RefUnwindSafe for ExtendedField<T, MIN_REVISION>where
T: RefUnwindSafe,
impl<T, const MIN_REVISION: u8> Send for ExtendedField<T, MIN_REVISION>where
T: Send,
impl<T, const MIN_REVISION: u8> Sync for ExtendedField<T, MIN_REVISION>where
T: Sync,
impl<T, const MIN_REVISION: u8> Unpin for ExtendedField<T, MIN_REVISION>where
T: Unpin,
impl<T, const MIN_REVISION: u8> UnwindSafe for ExtendedField<T, MIN_REVISION>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)