Home
last modified time | relevance | path

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

/linux/rust/kernel/num/
H A Dbounded.rs230 pub struct Bounded<T: Integer, const N: u32>(T); global() struct
238 impl<const N: u32> Bounded<$type, N> { global() impl
276 impl<T, const N: u32> Bounded<T, N> global() implementation
478 impl<T, const N: u32> Deref for Bounded<T, N> global() implementation
531 impl<T, U, const N: u32, const M: u32> PartialEq<Bounded<U, M>> for Bounded<T, N> global() implementation
542 impl<T, const N: u32> Eq for Bounded<T, N> where T: Integer {} global() implementation
544 impl<T, U, const N: u32, const M: u32> PartialOrd<Bounded<U, M>> for Bounded<T, N> global() implementation
555 impl<T, const N: u32> Ord for Bounded<T, N> global() implementation
567 impl<T, const N: u32> PartialEq<T> for Bounded<T, N> global() implementation
577 impl<T, const N: u32> PartialOrd<T> for Bounded<T, N> global() implementation
589 impl<T, const N: u32, const M: u32> ops::Add<Bounded<T, M>> for Bounded<T, N> global() implementation
601 impl<T, const N: u32, const M: u32> ops::BitAnd<Bounded<T, M>> for Bounded<T, N> global() implementation
613 impl<T, const N: u32, const M: u32> ops::BitOr<Bounded<T, M>> for Bounded<T, N> global() implementation
625 impl<T, const N: u32, const M: u32> ops::BitXor<Bounded<T, M>> for Bounded<T, N> global() implementation
637 impl<T, const N: u32, const M: u32> ops::Div<Bounded<T, M>> for Bounded<T, N> global() implementation
649 impl<T, const N: u32, const M: u32> ops::Mul<Bounded<T, M>> for Bounded<T, N> global() implementation
661 impl<T, const N: u32, const M: u32> ops::Rem<Bounded<T, M>> for Bounded<T, N> global() implementation
673 impl<T, const N: u32, const M: u32> ops::Sub<Bounded<T, M>> for Bounded<T, N> global() implementation
687 impl<T, const N: u32> ops::Add<T> for Bounded<T, N> global() implementation
699 impl<T, const N: u32> ops::BitAnd<T> for Bounded<T, N> global() implementation
711 impl<T, const N: u32> ops::BitOr<T> for Bounded<T, N> global() implementation
723 impl<T, const N: u32> ops::BitXor<T> for Bounded<T, N> global() implementation
735 impl<T, const N: u32> ops::Div<T> for Bounded<T, N> global() implementation
747 impl<T, const N: u32> ops::Mul<T> for Bounded<T, N> global() implementation
759 impl<T, const N: u32> ops::Neg for Bounded<T, N> global() implementation
771 impl<T, const N: u32> ops::Not for Bounded<T, N> global() implementation
783 impl<T, const N: u32> ops::Rem<T> for Bounded<T, N> global() implementation
795 impl<T, const N: u32> ops::Sub<T> for Bounded<T, N> global() implementation
809 impl<T, const N: u32> fmt::Display for Bounded<T, N> global() implementation
819 impl<T, const N: u32> fmt::Binary for Bounded<T, N> global() implementation
829 impl<T, const N: u32> fmt::LowerExp for Bounded<T, N> global() implementation
839 impl<T, const N: u32> fmt::LowerHex for Bounded<T, N> global() implementation
849 impl<T, const N: u32> fmt::Octal for Bounded<T, N> global() implementation
859 impl<T, const N: u32> fmt::UpperExp for Bounded<T, N> global() implementation
869 impl<T, const N: u32> fmt::UpperHex for Bounded<T, N> global() implementation
1052 impl<T, const N: u32> From<bool> for Bounded<T, N> global() implementation
[all...]