Lines Matching refs:AsRef
30 use std::convert::{AsMut, AsRef};
891 impl<L, R, Target> AsRef<Target> for Either<L, R>
893 L: AsRef<Target>,
894 R: AsRef<Target>,
904 impl<L, R> AsRef<$t> for Either<L, R>
905 where L: AsRef<$t>, R: AsRef<$t>
940 impl<L, R, Target> AsRef<[Target]> for Either<L, R>
942 L: AsRef<[Target]>,
943 R: AsRef<[Target]>,
1113 fn check_ref<T: AsRef<$t>>() {}
1114 fn propagate_ref<T1: AsRef<$t>, T2: AsRef<$t>>() {
1128 fn check_array_ref<T: AsRef<[Item]>, Item>() {} in _unsized_ref_propagation()
1131 fn propagate_array_ref<T1: AsRef<[Item]>, T2: AsRef<[Item]>, Item>() { in _unsized_ref_propagation()