Lines Matching refs:Wrap
575 impl<'a, Src, Dst> TryTransmuteRefSrc<'a> for Wrap<&'a Src, &'a Dst> implementation
583 impl<'a, Src, Dst> TryTransmuteRefDst<'a> for Wrap<&'a Src, &'a Dst> implementation
595 ValidityError<&'a <Wrap<&'a Src, &'a Dst> as TryTransmuteRefSrc<'a>>::Src, Dst>, in try_transmute_ref()
636 impl<'a, Src, Dst> TryTransmuteMutSrc<'a> for Wrap<&'a mut Src, &'a mut Dst> implementation
644 impl<'a, Src, Dst> TryTransmuteMutDst<'a> for Wrap<&'a mut Src, &'a mut Dst> implementation
656 ValidityError<&'a mut <Wrap<&'a mut Src, &'a mut Dst> as TryTransmuteMutSrc<'a>>::Src, Dst>, in try_transmute_mut()
694 pub struct Wrap<Src, Dst>(pub Src, pub PhantomData<Dst>); struct
696 impl<Src, Dst> Wrap<Src, Dst> { impl
699 Wrap(src, PhantomData) in new()
703 impl<'a, Src, Dst> Wrap<&'a Src, &'a Dst> impl
714 impl<'a, Src, Dst> Wrap<&'a Src, &'a Dst> { impl
766 let src = Wrap::new(src); in try_transmute_ref()
767 <Wrap<&'a Wrapping<Src>, &'a Wrapping<Dst>> as TryTransmuteRefDst<'a>>::try_transmute_ref( in try_transmute_ref()
789 impl<'a, Src, Dst> Wrap<&'a mut Src, &'a mut Dst> impl
800 impl<'a, Src, Dst> Wrap<&'a mut Src, &'a mut Dst> { impl
846 let src = Wrap::new(src); in try_transmute_mut()
847 <Wrap<&'a mut Wrapping<Src>, &'a mut Wrapping<Dst>> as TryTransmuteMutDst<'a>> in try_transmute_mut()
869 impl<'a, Src: ?Sized, Dst: ?Sized> TransmuteRefDst<'a> for Wrap<&'a Src, &'a Dst> implementation
902 impl<'a, Src: ?Sized, Dst: ?Sized> TransmuteMutDst<'a> for Wrap<&'a mut Src, &'a mut Dst> implementation