Lines Matching defs:or

34     let or = OwningRef::new(v);  localVariable
35 let or = or.map(|v| &v[1..3]); localVariable
92 let or = BoxRef::new(Box::new(foo)).map(|foo| { localVariable
1185 let or: OwningRef<Box<()>, ()> = OwningRef::new(Box::new(())); in new_deref() localVariable
1191 let or: OwningRef<Box<()>, ()> = Box::new(()).into(); in into() localVariable
1197 let or: BoxRef<Example> = Box::new(example()).into(); in map_offset_ref() localVariable
1198 let or: BoxRef<_, u32> = or.map(|x| &x.0); in map_offset_ref() localVariable
1201 let or: BoxRef<Example> = Box::new(example()).into(); in map_offset_ref() localVariable
1202 let or: BoxRef<_, u8> = or.map(|x| &x.2[1]); in map_offset_ref() localVariable
1208 let or: BoxRef<Example> = Box::new(example()).into(); in map_heap_ref() localVariable
1209 let or: BoxRef<_, str> = or.map(|x| &x.1[..5]); in map_heap_ref() localVariable
1215 let or: BoxRef<()> = Box::new(()).into(); in map_static_ref() localVariable
1216 let or: BoxRef<_, str> = or.map(|_| "hello"); in map_static_ref() localVariable
1222 let or: BoxRef<String> = Box::new(example().1).into(); in map_chained() localVariable
1223 let or: BoxRef<_, str> = or.map(|x| &x[1..5]); in map_chained() localVariable
1224 let or: BoxRef<_, str> = or.map(|x| &x[..2]); in map_chained() localVariable
1230 let or = BoxRef::new(Box::new(example().1)) in map_chained_inference() localVariable
1238 let or: BoxRef<String> = Box::new(example().1).into(); in as_owner() localVariable
1239 let or = or.map(|x| &x[..5]); in as_owner() localVariable
1246 let or: BoxRef<String> = Box::new(example().1).into(); in into_owner() localVariable
1247 let or = or.map(|x| &x[..5]); in into_owner() localVariable
1255 let or: BoxRef<String> = Box::new(example().1).into(); in fmt_debug() localVariable
1256 let or = or.map(|x| &x[..5]); in fmt_debug() localVariable
1568 let or: OwningRefMut<Box<()>, ()> = OwningRefMut::new(Box::new(())); in new_deref() localVariable
1574 let mut or: OwningRefMut<Box<()>, ()> = OwningRefMut::new(Box::new(())); in new_deref_mut() localVariable
1580 let mut or: OwningRefMut<Box<usize>, usize> = OwningRefMut::new(Box::new(0)); in mutate() localVariable
1588 let or: OwningRefMut<Box<()>, ()> = Box::new(()).into(); in into() localVariable
1594 let or: BoxRefMut<Example> = Box::new(example()).into(); in map_offset_ref() localVariable
1595 let or: BoxRef<_, u32> = or.map(|x| &mut x.0); in map_offset_ref() localVariable
1598 let or: BoxRefMut<Example> = Box::new(example()).into(); in map_offset_ref() localVariable
1599 let or: BoxRef<_, u8> = or.map(|x| &mut x.2[1]); in map_offset_ref() localVariable
1605 let or: BoxRefMut<Example> = Box::new(example()).into(); in map_heap_ref() localVariable
1606 let or: BoxRef<_, str> = or.map(|x| &mut x.1[..5]); in map_heap_ref() localVariable
1612 let or: BoxRefMut<()> = Box::new(()).into(); in map_static_ref() localVariable
1613 let or: BoxRef<_, str> = or.map(|_| "hello"); in map_static_ref() localVariable
1619 let or: BoxRefMut<Example> = Box::new(example()).into(); in map_mut_offset_ref() localVariable
1620 let or: BoxRefMut<_, u32> = or.map_mut(|x| &mut x.0); in map_mut_offset_ref() localVariable
1623 let or: BoxRefMut<Example> = Box::new(example()).into(); in map_mut_offset_ref() localVariable
1624 let or: BoxRefMut<_, u8> = or.map_mut(|x| &mut x.2[1]); in map_mut_offset_ref() localVariable
1630 let or: BoxRefMut<Example> = Box::new(example()).into(); in map_mut_heap_ref() localVariable
1631 let or: BoxRefMut<_, str> = or.map_mut(|x| &mut x.1[..5]); in map_mut_heap_ref() localVariable
1641 let or: BoxRefMut<()> = Box::new(()).into(); in map_mut_static_ref() localVariable
1642 let or: BoxRefMut<_, [u8]> = or.map_mut(move |_| mut_s); in map_mut_static_ref() localVariable
1648 let or: BoxRefMut<String> = Box::new(example().1).into(); in map_mut_chained() localVariable
1649 let or: BoxRefMut<_, str> = or.map_mut(|x| &mut x[1..5]); in map_mut_chained() localVariable
1650 let or: BoxRefMut<_, str> = or.map_mut(|x| &mut x[..2]); in map_mut_chained() localVariable
1656 let or = BoxRefMut::new(Box::new(example().1)) in map_chained_inference() localVariable
1664 let or: BoxRefMut<String> = Box::new(example().1).into(); in try_map_mut() localVariable
1665 let or: Result<BoxRefMut<_, str>, ()> = or.try_map_mut(|x| Ok(&mut x[1..5])); in try_map_mut() localVariable
1668 let or: BoxRefMut<String> = Box::new(example().1).into(); in try_map_mut() localVariable
1669 let or: Result<BoxRefMut<_, str>, ()> = or.try_map_mut(|_| Err(())); in try_map_mut() localVariable
1675 let or: BoxRefMut<String> = Box::new(example().1).into(); in as_owner() localVariable
1676 let or = or.map_mut(|x| &mut x[..5]); in as_owner() localVariable
1683 let or: BoxRefMut<String> = Box::new(example().1).into(); in into_owner() localVariable
1684 let or = or.map_mut(|x| &mut x[..5]); in into_owner() localVariable
1692 let or: BoxRefMut<String> = Box::new(example().1).into(); in fmt_debug() localVariable
1693 let or = or.map_mut(|x| &mut x[..5]); in fmt_debug() localVariable
1889 let or: BoxRefMut<()> = Box::new(()).into(); in into_owning_ref() localVariable
1890 let or: BoxRef<()> = or.into(); in into_owning_ref() localVariable