Lines Matching refs:AsRef
27 use core::convert::{AsMut, AsRef};
1178 impl<L, R, Target> AsRef<Target> for Either<L, R>
1180 L: AsRef<Target>,
1181 R: AsRef<Target>,
1191 impl<L, R> AsRef<$t> for Either<L, R>
1192 where L: AsRef<$t>, R: AsRef<$t>
1227 impl<L, R, Target> AsRef<[Target]> for Either<L, R>
1229 L: AsRef<[Target]>,
1230 R: AsRef<[Target]>,
1438 fn check_ref<T: AsRef<$t>>() {}
1439 fn propagate_ref<T1: AsRef<$t>, T2: AsRef<$t>>() {
1453 fn check_array_ref<T: AsRef<[Item]>, Item>() {} in _unsized_ref_propagation()
1456 fn propagate_array_ref<T1: AsRef<[Item]>, T2: AsRef<[Item]>, Item>() { in _unsized_ref_propagation()