pub struct PpttProcessorFlags(/* private fields */);
Implementations§
Source§impl PpttProcessorFlags
impl PpttProcessorFlags
Sourcepub const fn physical_package(&self) -> bool
pub const fn physical_package(&self) -> bool
Bits: 0..1
Sourcepub const fn with_physical_package_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_physical_package_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_physical_package(self, value: bool) -> Self
pub const fn with_physical_package(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_physical_package(&mut self, value: bool)
pub const fn set_physical_package(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn set_physical_package_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_physical_package_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 0..1
Sourcepub const fn acpi_processor_uid_valid(&self) -> bool
pub const fn acpi_processor_uid_valid(&self) -> bool
Bits: 1..2
Sourcepub const fn with_acpi_processor_uid_valid_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_acpi_processor_uid_valid_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_acpi_processor_uid_valid(self, value: bool) -> Self
pub const fn with_acpi_processor_uid_valid(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_acpi_processor_uid_valid(&mut self, value: bool)
pub const fn set_acpi_processor_uid_valid(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn set_acpi_processor_uid_valid_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_acpi_processor_uid_valid_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 1..2
Sourcepub const fn processor_is_a_thread(&self) -> bool
pub const fn processor_is_a_thread(&self) -> bool
Bits: 2..3
Sourcepub const fn with_processor_is_a_thread_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_processor_is_a_thread_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_processor_is_a_thread(self, value: bool) -> Self
pub const fn with_processor_is_a_thread(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_processor_is_a_thread(&mut self, value: bool)
pub const fn set_processor_is_a_thread(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn set_processor_is_a_thread_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_processor_is_a_thread_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 2..3
Sourcepub const fn node_is_a_leaf(&self) -> bool
pub const fn node_is_a_leaf(&self) -> bool
Bits: 3..4
Sourcepub const fn with_node_is_a_leaf_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_node_is_a_leaf_checked(self, value: bool) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_node_is_a_leaf(self, value: bool) -> Self
pub const fn with_node_is_a_leaf(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_node_is_a_leaf(&mut self, value: bool)
pub const fn set_node_is_a_leaf(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn set_node_is_a_leaf_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_node_is_a_leaf_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 3..4
Sourcepub const fn identical_implementation(&self) -> bool
pub const fn identical_implementation(&self) -> bool
Bits: 4..5
Sourcepub const fn with_identical_implementation_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_identical_implementation_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_identical_implementation(self, value: bool) -> Self
pub const fn with_identical_implementation(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_identical_implementation(&mut self, value: bool)
pub const fn set_identical_implementation(&mut self, value: bool)
Bits: 4..5
Trait Implementations§
Source§impl Clone for PpttProcessorFlags
impl Clone for PpttProcessorFlags
Source§fn clone(&self) -> PpttProcessorFlags
fn clone(&self) -> PpttProcessorFlags
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PpttProcessorFlags
impl Debug for PpttProcessorFlags
Source§impl Default for PpttProcessorFlags
impl Default for PpttProcessorFlags
Source§impl From<PpttProcessorFlags> for u32
impl From<PpttProcessorFlags> for u32
Source§fn from(v: PpttProcessorFlags) -> u32
fn from(v: PpttProcessorFlags) -> u32
Converts to this type from the input type.
Source§impl From<u32> for PpttProcessorFlags
impl From<u32> for PpttProcessorFlags
impl Copy for PpttProcessorFlags
Auto Trait Implementations§
impl Freeze for PpttProcessorFlags
impl RefUnwindSafe for PpttProcessorFlags
impl Send for PpttProcessorFlags
impl Sync for PpttProcessorFlags
impl Unpin for PpttProcessorFlags
impl UnwindSafe for PpttProcessorFlags
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