Lines Matching refs:Bounded
390 ::kernel::num::Bounded<$storage, { $hi + 1 - $lo }> {
398 let val = ::kernel::num::Bounded::<$storage, { $storage::BITS }>::from(
407 value: ::kernel::num::Bounded<$storage, { $hi + 1 - $lo }>,
461 ::kernel::num::Bounded<$storage, { $hi + 1 - $lo }>
490 ::kernel::num::Bounded<$storage, { $hi + 1 - $lo }>
500 ::kernel::num::Bounded::<$storage, { $hi + 1 - $lo }>::new::<VALUE>()
511 where T: ::core::convert::Into<::kernel::num::Bounded<$storage, { $hi + 1 - $lo }>>,
558 use kernel::num::Bounded;
570 impl TryFrom<Bounded<u64, 4>> for MemoryType {
572 fn try_from(value: Bounded<u64, 4>) -> Result<Self, Self::Error> { in try_from()
583 impl From<MemoryType> for Bounded<u64, 4> { implementation
585 fn from(mt: MemoryType) -> Bounded<u64, 4> { in from()
586 Bounded::from_expr(mt as u64) in from()
598 impl From<Bounded<u16, 2>> for Priority {
599 fn from(value: Bounded<u16, 2>) -> Self { in from()
609 impl From<Priority> for Bounded<u16, 2> { implementation
611 fn from(p: Priority) -> Bounded<u16, 2> { in from()
612 Bounded::from_expr(p as u16) in from()