slang::ast::DistExpression::DistWeight struct

A weight to apply to a distribution.

Public types

enum Kind { PerValue, PerRange }
The kind of weight (per value or per range).

Public variables

const Expression& expr
The weight expression.