pub struct TypeOptions {
pub weight: i64,
pub goal: i64,
pub comment: String,
pub strobe: bool,
pub merge_instances: bool,
pub distribute_first: bool,
pub real_interval: f64,
}Expand description
type_option.<name> of a covergroup, coverpoint or cross.
Fields§
§weight: i64§goal: i64§comment: String§strobe: bool§merge_instances: bool§distribute_first: bool§real_interval: f64Implementations§
Source§impl TypeOptions
impl TypeOptions
Sourcepub fn inherit(&self) -> TypeOptions
pub fn inherit(&self) -> TypeOptions
Defaults for a coverpoint declared inside a covergroup whose type
options are self (Table 19-4: only real_interval is inherited).
Sourcepub fn set(&mut self, level: Level, name: &str, v: &Val) -> Result<(), CovError>
pub fn set(&mut self, level: Level, name: &str, v: &Val) -> Result<(), CovError>
type_option.<name> = <v> at level (Table 19-4).
pub fn get(&self, level: Level, name: &str) -> Result<Val, CovError>
Trait Implementations§
Source§impl Clone for TypeOptions
impl Clone for TypeOptions
Source§impl Debug for TypeOptions
impl Debug for TypeOptions
Source§impl Default for TypeOptions
impl Default for TypeOptions
Source§impl PartialEq for TypeOptions
impl PartialEq for TypeOptions
impl StructuralPartialEq for TypeOptions
Auto Trait Implementations§
impl Freeze for TypeOptions
impl RefUnwindSafe for TypeOptions
impl Send for TypeOptions
impl Sync for TypeOptions
impl Unpin for TypeOptions
impl UnsafeUnpin for TypeOptions
impl UnwindSafe for TypeOptions
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