Home
last modified time | relevance | path

Searched defs:Bounded (Results 1 – 2 of 2) sorted by relevance

/linux/rust/kernel/num/
H A Dbounded.rs240 pub struct Bounded<T: Integer, const N: u32>(T); struct
248 impl<const N: u32> Bounded<$type, N> { impl
284 impl<T, const N: u32> Bounded<T, N> implementation
559 impl<T, const N: u32> Deref for Bounded<T, N> implementation
612 impl<T, U, const N: u32, const M: u32> PartialEq<Bounded<U, M>> for Bounded<T, N> implementation
623 impl<T, const N: u32> Eq for Bounded<T, N> where T: Integer {} implementation
625 impl<T, U, const N: u32, const M: u32> PartialOrd<Bounded<U, M>> for Bounded<T, N> implementation
636 impl<T, const N: u32> Ord for Bounded<T, N> implementation
648 impl<T, const N: u32> PartialEq<T> for Bounded<T, N> implementation
658 impl<T, const N: u32> PartialOrd<T> for Bounded<T, N> implementation
[all …]
/linux/rust/kernel/
H A Dbitfield.rs583 impl From<MemoryType> for Bounded<u64, 4> { implementation
609 impl From<Priority> for Bounded<u16, 2> { implementation