pub enum ViolationType {
Unique,
Unique0,
Priority,
}Expand description
Which qualifier’s violation report is raised: the three assertion_type
bits of Table 20-6 that name violation report types.
Variants§
Unique
unique if / unique case (assertion_type 32).
Unique0
unique0 if / unique0 case (assertion_type 64).
Priority
priority if / priority case (assertion_type 128).
Implementations§
Source§impl ViolationType
impl ViolationType
Sourcepub const fn assertion_type_bit(self) -> u32
pub const fn assertion_type_bit(self) -> u32
The Table 20-6 assertion_type bit.
Sourcepub const fn deferred_mode(self) -> u32
pub const fn deferred_mode(self) -> u32
The sv_rt_deferred_end mode that hands a report of this type to
violation_report (after DEFERRED_MODE_OBSERVED and
DEFERRED_MODE_FINAL).
Sourcepub const fn from_deferred_mode(mode: u32) -> Option<ViolationType>
pub const fn from_deferred_mode(mode: u32) -> Option<ViolationType>
The type a sv_rt_deferred_end mode names, None for an
assert #0/assert final mode or a stray value.
Trait Implementations§
Source§impl Clone for ViolationType
impl Clone for ViolationType
impl Copy for ViolationType
Source§impl Debug for ViolationType
impl Debug for ViolationType
impl Eq for ViolationType
Source§impl PartialEq for ViolationType
impl PartialEq for ViolationType
impl StructuralPartialEq for ViolationType
Auto Trait Implementations§
impl Freeze for ViolationType
impl RefUnwindSafe for ViolationType
impl Send for ViolationType
impl Sync for ViolationType
impl Unpin for ViolationType
impl UnsafeUnpin for ViolationType
impl UnwindSafe for ViolationType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.