Struct FixedFlags

Source
pub struct FixedFlags(/* private fields */);
Expand description

Support flags from Fixed ACPI Description Table

Implementations§

Source§

impl FixedFlags

Source

pub fn x86_wbinvd_supported(&self) -> bool

Source

pub fn x86_wbinvd_requires_flush(&self) -> bool

Source

pub fn c1_supported(&self) -> bool

Source

pub fn c2_multi_cpu_supported(&self) -> bool

Source

pub fn power_button_is_control_method_device(&self) -> bool

Source

pub fn sleep_button_is_control_method_device(&self) -> bool

Source

pub fn rtc_not_fixed(&self) -> bool

Source

pub fn rtc_can_wake_s4(&self) -> bool

Source

pub fn timer_value_32_bit(&self) -> bool

Source

pub fn dock_capable(&self) -> bool

Source

pub fn fixed_description_reset_supported(&self) -> bool

Source

pub fn sealed_case(&self) -> bool

Source

pub fn headless(&self) -> bool

Source

pub fn execute_instruction_after_slp_typ(&self) -> bool

Source

pub fn pci_express_wake(&self) -> bool

Source

pub fn use_platform_clock(&self) -> bool

Source

pub fn rtc_status_valid_after_s4(&self) -> bool

Source

pub fn remote_power_on_supported(&self) -> bool

Source

pub fn force_apic_cluster_model(&self) -> bool

Source

pub fn force_apic_physical_destination_mode(&self) -> bool

Source

pub fn hardware_reduced_acpi(&self) -> bool

Source

pub fn low_power_s0_idle(&self) -> bool

Source

pub fn set_x86_wbinvd_supported(&mut self, value: bool)

Source

pub fn with_x86_wbinvd_supported(&mut self, value: bool) -> Self

Source

pub fn set_x86_wbinvd_requires_flush(&mut self, value: bool)

Source

pub fn with_x86_wbinvd_requires_flush(&mut self, value: bool) -> Self

Source

pub fn set_c1_supported(&mut self, value: bool)

Source

pub fn with_c1_supported(&mut self, value: bool) -> Self

Source

pub fn set_c2_multi_cpu_supported(&mut self, value: bool)

Source

pub fn with_c2_multi_cpu_supported(&mut self, value: bool) -> Self

Source

pub fn set_power_button_is_control_method_device(&mut self, value: bool)

Source

pub fn with_power_button_is_control_method_device( &mut self, value: bool, ) -> Self

Source

pub fn set_sleep_button_is_control_method_device(&mut self, value: bool)

Source

pub fn with_sleep_button_is_control_method_device( &mut self, value: bool, ) -> Self

Source

pub fn set_rtc_not_fixed(&mut self, value: bool)

Source

pub fn with_rtc_not_fixed(&mut self, value: bool) -> Self

Source

pub fn set_rtc_can_wake_s4(&mut self, value: bool)

Source

pub fn with_rtc_can_wake_s4(&mut self, value: bool) -> Self

Source

pub fn set_timer_value_32_bit(&mut self, value: bool)

Source

pub fn with_timer_value_32_bit(&mut self, value: bool) -> Self

Source

pub fn set_dock_capable(&mut self, value: bool)

Source

pub fn with_dock_capable(&mut self, value: bool) -> Self

Source

pub fn set_fixed_description_reset_supported(&mut self, value: bool)

Source

pub fn with_fixed_description_reset_supported(&mut self, value: bool) -> Self

Source

pub fn set_sealed_case(&mut self, value: bool)

Source

pub fn with_sealed_case(&mut self, value: bool) -> Self

Source

pub fn set_headless(&mut self, value: bool)

Source

pub fn with_headless(&mut self, value: bool) -> Self

Source

pub fn set_execute_instruction_after_slp_typ(&mut self, value: bool)

Source

pub fn with_execute_instruction_after_slp_typ(&mut self, value: bool) -> Self

Source

pub fn set_pci_express_wake(&mut self, value: bool)

Source

pub fn with_pci_express_wake(&mut self, value: bool) -> Self

Source

pub fn set_use_platform_clock(&mut self, value: bool)

Source

pub fn with_use_platform_clock(&mut self, value: bool) -> Self

Source

pub fn set_rtc_status_valid_after_s4(&mut self, value: bool)

Source

pub fn with_rtc_status_valid_after_s4(&mut self, value: bool) -> Self

Source

pub fn set_remote_power_on_supported(&mut self, value: bool)

Source

pub fn with_remote_power_on_supported(&mut self, value: bool) -> Self

Source

pub fn set_force_apic_cluster_model(&mut self, value: bool)

Source

pub fn with_force_apic_cluster_model(&mut self, value: bool) -> Self

Source

pub fn set_force_apic_physical_destination_mode(&mut self, value: bool)

Source

pub fn with_force_apic_physical_destination_mode(&mut self, value: bool) -> Self

Source

pub fn set_hardware_reduced_acpi(&mut self, value: bool)

Source

pub fn with_hardware_reduced_acpi(&mut self, value: bool) -> Self

Source

pub fn set_low_power_s0_idle(&mut self, value: bool)

Source

pub fn with_low_power_s0_idle(&mut self, value: bool) -> Self

Trait Implementations§

Source§

impl Bitfield<u32> for FixedFlags

§

fn new(value: T) -> Self

Construct a new bitfield type from its underlying representation
§

fn value(self) -> T

Unwrap the bitfield into its underlying representation
Source§

impl Clone for FixedFlags

Source§

fn clone(&self) -> FixedFlags

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FixedFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FixedFlags

Source§

fn default() -> FixedFlags

Returns the “default value” for a type. Read more
Source§

impl From<FixedFlags> for u32

Source§

fn from(val: FixedFlags) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for FixedFlags

Source§

fn from(val: u32) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for FixedFlags

Source§

fn eq(&self, other: &FixedFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for FixedFlags

Source§

impl Eq for FixedFlags

Source§

impl StructuralPartialEq for FixedFlags

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.