Enum simics_api_sys::attr_attr_t
source · #[repr(u32)]pub enum attr_attr_t {
Show 21 variants
Sim_Attr_Required = 0,
Sim_Attr_Optional = 1,
Sim_Attr_Session = 3,
Sim_Attr_Pseudo = 4,
Sim_Attr_Integer_Indexed = 4_096,
Sim_Attr_String_Indexed = 8_192,
Sim_Attr_List_Indexed = 16_384,
Sim_Attr_Persistent = 131_072,
Sim_Attr_Flag_Mask = 255,
Sim_Init_Phase_Shift = 8,
Sim_Init_Phase_1 = 256,
Sim_Init_Phase_Bits = 2,
Sim_Init_Phase_Pre1 = 768,
Sim_Attr_Class = 32_768,
Sim_Attr_Internal = 65_536,
Sim_Attr_Doc = 1_048_576,
Sim_Attr_CB_Data = 2_097_152,
Sim_Attr_Legacy = 4_194_304,
Sim_Attr_Weak_Ref = 8_388_608,
Sim_Attr_Read_Only = 262_144,
Sim_Attr_Write_Only = 524_288,
}
Variants§
Sim_Attr_Required = 0
Sim_Attr_Optional = 1
Sim_Attr_Session = 3
Sim_Attr_Pseudo = 4
Sim_Attr_Integer_Indexed = 4_096
Sim_Attr_String_Indexed = 8_192
Sim_Attr_List_Indexed = 16_384
Sim_Attr_Persistent = 131_072
Sim_Attr_Flag_Mask = 255
The members below are for internal use only.
Sim_Init_Phase_Shift = 8
The members below are for internal use only.
Sim_Init_Phase_1 = 256
The members below are for internal use only.
Sim_Init_Phase_Bits = 2
The members below are for internal use only.
Sim_Init_Phase_Pre1 = 768
The members below are for internal use only.
Sim_Attr_Class = 32_768
The members below are for internal use only.
Sim_Attr_Internal = 65_536
To prevent attribute from being visible in documentation, use Sim_Attr_Internal.
Sim_Attr_Doc = 1_048_576
To prevent attribute from being visible in documentation, use Sim_Attr_Internal.
Sim_Attr_CB_Data = 2_097_152
To prevent attribute from being visible in documentation, use Sim_Attr_Internal.
Sim_Attr_Legacy = 4_194_304
To prevent attribute from being visible in documentation, use Sim_Attr_Internal.
Sim_Attr_Weak_Ref = 8_388_608
To prevent attribute from being visible in documentation, use Sim_Attr_Internal.
Sim_Attr_Read_Only = 262_144
To prevent attribute from being visible in documentation, use Sim_Attr_Internal.
Sim_Attr_Write_Only = 524_288
To prevent attribute from being visible in documentation, use Sim_Attr_Internal.
Implementations§
source§impl attr_attr_t
impl attr_attr_t
pub const Sim_Init_Phase_0: attr_attr_t = attr_attr_t::Sim_Attr_Required
source§impl attr_attr_t
impl attr_attr_t
pub const Sim_Init_Phase_Mask: attr_attr_t = attr_attr_t::Sim_Attr_Session
Trait Implementations§
source§impl Clone for attr_attr_t
impl Clone for attr_attr_t
source§fn clone(&self) -> attr_attr_t
fn clone(&self) -> attr_attr_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for attr_attr_t
impl Debug for attr_attr_t
source§impl Hash for attr_attr_t
impl Hash for attr_attr_t
source§impl Ord for attr_attr_t
impl Ord for attr_attr_t
source§fn cmp(&self, other: &attr_attr_t) -> Ordering
fn cmp(&self, other: &attr_attr_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for attr_attr_t
impl PartialEq for attr_attr_t
source§impl PartialOrd for attr_attr_t
impl PartialOrd for attr_attr_t
impl Copy for attr_attr_t
impl Eq for attr_attr_t
impl StructuralPartialEq for attr_attr_t
Auto Trait Implementations§
impl Freeze for attr_attr_t
impl RefUnwindSafe for attr_attr_t
impl Send for attr_attr_t
impl Sync for attr_attr_t
impl Unpin for attr_attr_t
impl UnwindSafe for attr_attr_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)