pub fn value<F: FieldExt>(selector: F, when_true: F, when_false: F) -> F
Expand description

Returns the when_true value when the selector is true, else returns the when_false value.