Enum moore_svlog::typeck::CastOp [−][src]
pub enum CastOp {
PackSBVT,
UnpackSBVT,
Bool,
Sign(Sign),
Range(Range, bool),
Domain(Domain),
PickModport,
PackString,
UnpackString,
}
Expand description
A cast operation.
Variants
Pack a value into an SBVT.
Unpack a value from an SBVT.
Cast to a boolean.
Sign(Sign)
Cast to a different sign.
Tuple Fields of Sign
0: Sign
Cast to a different range. Second argument indicates sign-extension.
Domain(Domain)
Cast to a different domain.
Tuple Fields of Domain
0: Domain
Pick an interface’s modport.
Pack a string into an SBVT.
Unpack a string from an SBVT.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CastOp
impl UnwindSafe for CastOp
Blanket Implementations
Mutably borrows from an owned value. Read more