Lines Matching refs:Color
28 enum Color { enum
35 color: Color,
95 color: Color::Black, in new()
106 fn set_color(&mut self, color: Color) { in set_color() argument
117 self.set_color(Color::Red); in set_red_color()
122 self.set_color(Color::Black); in set_black_color()
126 fn get_color(&self) -> Color { in get_color() argument
128 return Color::Black; in get_color()
138 unsafe { (*self.0).color == Color::Red } in is_red_color()
146 unsafe { (*self.0).color == Color::Black } in is_black_color()
1338 if color == Color::Black { in delete()
1368 if color == Color::Black { in delete()