Searched refs:Optionality (Results 1 – 6 of 6) sorted by relevance
56 enum Optionality { enum63 impl PartialEq<Optionality> for Optionality { implementation64 fn eq(&self, other: &Optionality) -> bool { in eq()65 use Optionality::*; in eq()71 impl Optionality { impl74 matches!(self, Optionality::None) in is_required()100 optionality: Optionality,133 optionality = Optionality::Optional; in new()153 optionality = Optionality::Defaulted(tokens); in new()159 Optionality::Optional in new()[all …]
10 Optionality, StructField,160 if field.optionality == Optionality::Repeating { in positional_usage()197 if field.optionality == Optionality::Repeating { in option_usage()
805 enum class Optionality { Optional, Required }; enum835 Optionality m_optionality = Optionality::Optional;861 m_optionality = Optionality::Optional; in optional()866 m_optionality = Optionality::Required; in required()871 return m_optionality == Optionality::Optional; in isOptional()
9233 enum class Optionality { Optional, Required }; enum9263 Optionality m_optionality = Optionality::Optional;9289 m_optionality = Optionality::Optional; in optional()9294 m_optionality = Optionality::Required; in required()9299 return m_optionality == Optionality::Optional; in isOptional()
9178 enum class Optionality { Optional, Required }; enum9208 Optionality m_optionality = Optionality::Optional;9234 m_optionality = Optionality::Optional; in optional()9239 m_optionality = Optionality::Required; in required()9244 return m_optionality == Optionality::Optional; in isOptional()