libpulse_binding::direction
pub fn is_valid(f: FlagSet) -> bool
Returns whether direction is valid (either input, output or bidirectional).