pub struct Dr7Value { /* private fields */ }Expand description
Implementations§
source§impl Dr7Value
impl Dr7Value
sourcepub const fn from_bits(bits: u64) -> Option<Self>
pub const fn from_bits(bits: u64) -> Option<Self>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a field.
sourcepub const fn from_bits_truncate(bits: u64) -> Self
pub const fn from_bits_truncate(bits: u64) -> Self
Convert from underlying bit representation, dropping any bits that do not correspond to fields.
sourcepub const unsafe fn from_bits_unchecked(bits: u64) -> Self
pub const unsafe fn from_bits_unchecked(bits: u64) -> Self
sourcepub fn insert_flags(&mut self, flags: Dr7Flags)
pub fn insert_flags(&mut self, flags: Dr7Flags)
Inserts the specified Dr7Flags in-place.
sourcepub fn remove_flags(&mut self, flags: Dr7Flags)
pub fn remove_flags(&mut self, flags: Dr7Flags)
Removes the specified Dr7Flags in-place.
sourcepub fn toggle_flags(&mut self, flags: Dr7Flags)
pub fn toggle_flags(&mut self, flags: Dr7Flags)
Toggles the specified Dr7Flags in-place.
sourcepub fn set_flags(&mut self, flags: Dr7Flags, value: bool)
pub fn set_flags(&mut self, flags: Dr7Flags, value: bool)
Inserts or removes the specified Dr7Flags depending on the passed value.
sourcepub fn condition(&self, n: DebugAddressRegisterNumber) -> BreakpointCondition
pub fn condition(&self, n: DebugAddressRegisterNumber) -> BreakpointCondition
Returns the condition field of a debug address register.
sourcepub fn set_condition(
&mut self,
n: DebugAddressRegisterNumber,
condition: BreakpointCondition
)
pub fn set_condition( &mut self, n: DebugAddressRegisterNumber, condition: BreakpointCondition )
Sets the condition field of a debug address register.
sourcepub fn size(&self, n: DebugAddressRegisterNumber) -> BreakpointSize
pub fn size(&self, n: DebugAddressRegisterNumber) -> BreakpointSize
Returns the size field of a debug address register.
sourcepub fn set_size(&mut self, n: DebugAddressRegisterNumber, size: BreakpointSize)
pub fn set_size(&mut self, n: DebugAddressRegisterNumber, size: BreakpointSize)
Sets the size field of a debug address register.