Lines Matching refs:usize
40 const DRIVER_DATA_OFFSET: usize;
43 fn index(&self) -> usize; in index() argument
48 pub struct RawIdArray<T: RawDeviceId, const N: usize> {
53 impl<T: RawDeviceId, const N: usize> RawIdArray<T, N> {
55 pub const fn size(&self) -> usize { in size() argument
62 pub struct IdArray<T: RawDeviceId, U, const N: usize> {
67 impl<T: RawDeviceId, U, const N: usize> IdArray<T, U, N> {
86 .cast::<usize>()
129 fn id(&self, index: usize) -> &T::RawType; in id()
132 fn info(&self, index: usize) -> &U; in info()
135 impl<T: RawDeviceId, U, const N: usize> IdTable<T, U> for IdArray<T, U, N> {
142 fn id(&self, index: usize) -> &T::RawType { in id()
146 fn info(&self, index: usize) -> &U { in info()