Home
last modified time | relevance | path

Searched refs:FromBytes (Results 1 – 3 of 3) sorted by relevance

/rust/kernel/
A Dtransmute.rs15 pub unsafe trait FromBytes {} traits
20 $(unsafe impl$($($generics)*)? FromBytes for $t {})*
31 {<T: FromBytes>} [T],
32 {<T: FromBytes, const N: usize>} [T; N],
A Ddma.rs12 transmute::{AsBytes, FromBytes},
276 pub struct CoherentAllocation<T: AsBytes + FromBytes> {
284 impl<T: AsBytes + FromBytes> CoherentAllocation<T> {
510 pub unsafe fn field_read<F: FromBytes>(&self, field: *const F) -> F { in field_read()
549 impl<T: AsBytes + FromBytes> Drop for CoherentAllocation<T> {
569 unsafe impl<T: AsBytes + FromBytes + Send> Send for CoherentAllocation<T> {}
A Duaccess.rs13 transmute::{AsBytes, FromBytes},
294 pub fn read<T: FromBytes>(&mut self) -> Result<T> { in read()

Completed in 6 milliseconds