Lines Matching defs:bool
301 pub fn is<T: 'static>(&self) -> bool {
344 fn visit_bool(&mut self, value: bool) -> Result<(), value_bag::Error> {
567 impl_to_value_primitive![usize, u8, u16, u32, u64, isize, i8, i16, i32, i64, f32, f64, char, bool,];
588 #[doc = "Try convert this value into a `bool`."]
589 to_bool -> bool,
682 fn visit_bool(&mut self, value: bool) -> Result<(), Error> {
746 fn visit_bool(&mut self, value: bool) -> Result<(), Error> {
824 fn bool() -> impl Iterator<Item = Value<'static>> {
880 assert_eq!(Option::None::<bool>.to_value().to_string(), "None");
896 assert_eq!(Option::None::<bool>.to_value().to_token(), Token::None);
914 for v in bool().chain(str()).chain(char()) {
938 for v in unsigned().chain(signed()).chain(float()).chain(bool()) {
948 for v in bool() {
972 .chain(bool())