Searched defs:is_unit (Results 1 – 6 of 6) 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
228 pub(crate) fn is_unit(&self) -> bool { in is_unit() method
57 is_unit: bool, // is this the () type field
330 auto is_unit = [](float x) { in MakeSubset() local