pub struct CurrentResourceSettings { /* private fields */ }
Expand description
A group of current ACPI resources (CRS)
Implementations§
Source§impl CurrentResourceSettings
impl CurrentResourceSettings
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct a new CurrentResourceSettings
.
Sourcepub fn add_resource(&mut self, resource: &impl ResourceObject)
pub fn add_resource(&mut self, resource: &impl ResourceObject)
Add a resource to the collection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CurrentResourceSettings
impl RefUnwindSafe for CurrentResourceSettings
impl Send for CurrentResourceSettings
impl Sync for CurrentResourceSettings
impl Unpin for CurrentResourceSettings
impl UnwindSafe for CurrentResourceSettings
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