#[non_exhaustive]pub enum VarType {
Show 18 variants
Event,
Integer,
Parameter,
Real,
Reg,
Supply0,
Supply1,
Time,
Tri,
TriAnd,
TriOr,
TriReg,
Tri0,
Tri1,
WAnd,
Wire,
WOr,
String,
}
Expand description
A type of variable, as used in the $var
command.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Event
Integer
Parameter
Real
Reg
Supply0
Supply1
Time
Tri
TriAnd
TriOr
TriReg
Tri0
Tri1
WAnd
Wire
WOr
String
Trait Implementations§
source§impl PartialEq<VarType> for VarType
impl PartialEq<VarType> for VarType
impl Copy for VarType
impl Eq for VarType
impl StructuralEq for VarType
impl StructuralPartialEq for VarType
Auto Trait Implementations§
impl RefUnwindSafe for VarType
impl Send for VarType
impl Sync for VarType
impl Unpin for VarType
impl UnwindSafe for VarType
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