Lines Matching refs:FromBytes
30 FromBytes, //
420 impl<T: AsBytes + FromBytes> CoherentBox<[T]> {
457 // - `T: AsBytes + FromBytes` guarantees all bit patterns are valid, so partial writes on
526 impl<T: AsBytes + FromBytes> CoherentBox<T> {
557 impl<T: AsBytes + FromBytes + KnownSize + ?Sized> DerefMut for CoherentBox<T> {
568 impl<T: AsBytes + FromBytes + KnownSize + ?Sized> From<CoherentBox<T>> for Coherent<T> {
666 impl<T: AsBytes + FromBytes> Coherent<T> {
756 // `Coherent`'s DMA memory. `T: AsBytes + FromBytes` ensures there are no complex `Drop`
951 unsafe impl<T: KnownSize + ?Sized + AsBytes + FromBytes + Sync> Sync for Coherent<T> {}
1219 fn copy_read<T: zerocopy::FromBytes>(view: Self::View<'_, T>) -> T {