Searched defs:is_unit (Results 1 – 9 of 9) sorted by relevance
6 pub fn is_unit(s: Singleton) -> bool { in is_unit() function
9 pub fn is_unit(foo: Foo) -> bool { in is_unit() function
214 pub fn is_unit(&self) -> bool { in is_unit() method382 pub fn is_unit(self) -> bool { in is_unit() method
229 pub(crate) fn is_unit(&self) -> bool { in is_unit() method
59 is_unit: bool, // is this the () type field
144 pub fn is_unit(&self) -> bool { in is_unit() method
330 auto is_unit = [](float x) { in MakeSubset() local