kvarn::csp

Struct ValueSet

source
pub struct ValueSet { /* private fields */ }
Expand description

A set of Values. Makes it easier to build the Rule.

Implementations§

source§

impl ValueSet

source

pub fn empty() -> Self

Creates a empty set of Values.

Consider using Default::default() instead, as it includes Value::Same which is almost always wanted.

source

pub fn none() -> Self

A set of Values with only Value::None.