#[repr(u32)]pub enum PredefAttr {
Show 31 variants
Active = 1_001,
Ascending = 1_002,
Base = 1_003,
Delayed = 1_004,
Driving = 1_005,
DrivingValue = 1_006,
Event = 1_007,
High = 1_008,
Image = 1_009,
InstanceName = 1_010,
LastActive = 1_011,
LastEvent = 1_012,
LastValue = 1_013,
Left = 1_014,
LeftOf = 1_015,
Length = 1_016,
Low = 1_017,
PathName = 1_018,
Pos = 1_019,
Pred = 1_020,
Quiet = 1_021,
Range = 1_022,
ReverseRange = 1_023,
Right = 1_024,
RightOf = 1_025,
SimpleName = 1_026,
Stable = 1_027,
Succ = 1_028,
Transaction = 1_029,
Val = 1_030,
Value = 1_031,
}Expand description
Predefined VHDL attributes returned by IntProperty::PredefAttr.
Variants§
Active = 1_001
'active.
Ascending = 1_002
'ascending.
Base = 1_003
'base.
Delayed = 1_004
'delayed.
Driving = 1_005
'driving.
DrivingValue = 1_006
'driving_value.
Event = 1_007
'event.
High = 1_008
'high.
Image = 1_009
'image.
InstanceName = 1_010
'instance_name.
LastActive = 1_011
'last_active.
LastEvent = 1_012
'last_event.
LastValue = 1_013
'last_value.
Left = 1_014
'left.
LeftOf = 1_015
'leftof.
Length = 1_016
'length.
Low = 1_017
'low.
PathName = 1_018
'path_name.
Pos = 1_019
'pos.
Pred = 1_020
'pred.
Quiet = 1_021
'quiet.
Range = 1_022
'range.
ReverseRange = 1_023
'reverse_range.
Right = 1_024
'right.
RightOf = 1_025
'rightof.
SimpleName = 1_026
'simple_name.
Stable = 1_027
'stable.
Succ = 1_028
'succ.
Transaction = 1_029
'transaction.
Val = 1_030
'val.
Value = 1_031
'value.
Implementations§
Source§impl PredefAttr
impl PredefAttr
Sourcepub fn from_i32(value: i32) -> Option<PredefAttr>
pub fn from_i32(value: i32) -> Option<PredefAttr>
Convert a raw simulator value into PredefAttr.
Returns None when value is not a recognized predefined attribute.
Trait Implementations§
Source§impl Clone for PredefAttr
impl Clone for PredefAttr
Source§impl Debug for PredefAttr
impl Debug for PredefAttr
impl Eq for PredefAttr
Source§impl FromPrimitive for PredefAttr
impl FromPrimitive for PredefAttr
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl PartialEq for PredefAttr
impl PartialEq for PredefAttr
impl StructuralPartialEq for PredefAttr
Auto Trait Implementations§
impl Freeze for PredefAttr
impl RefUnwindSafe for PredefAttr
impl Send for PredefAttr
impl Sync for PredefAttr
impl Unpin for PredefAttr
impl UnsafeUnpin for PredefAttr
impl UnwindSafe for PredefAttr
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