Searched refs:unwrap_enum (Results 1 – 3 of 3) sorted by relevance
277 fn unwrap_enum(&self) -> Cow<'_, str> { in unwrap_enum() method361 if !ty.unwrap_enum().names().any(|n| n == name) { in ensure_type_val()
796 pub fn unwrap_enum(&self) -> &Enum { in unwrap_enum() method
1087 assert_eq!(b_ty.unwrap_enum().names().collect::<Vec<_>>(), ["a", "b"]); in introspection()