Lines Matching refs:M
405 pub const fn extend<const M: u32>(self) -> Bounded<T, M> { in extend() argument
408 M >= N, in extend()
436 pub fn try_shrink<const M: u32>(self) -> Option<Bounded<T, M>> { in try_shrink() argument
437 Bounded::<T, M>::try_new(self.get()) in try_shrink()
528 impl<T, U, const N: u32, const M: u32> PartialEq<Bounded<U, M>> for Bounded<T, N>
534 fn eq(&self, other: &Bounded<U, M>) -> bool { in eq()
541 impl<T, U, const N: u32, const M: u32> PartialOrd<Bounded<U, M>> for Bounded<T, N>
547 fn partial_cmp(&self, other: &Bounded<U, M>) -> Option<cmp::Ordering> { in partial_cmp()
586 impl<T, const N: u32, const M: u32> ops::Add<Bounded<T, M>> for Bounded<T, N>
593 fn add(self, rhs: Bounded<T, M>) -> Self::Output { in add()
598 impl<T, const N: u32, const M: u32> ops::BitAnd<Bounded<T, M>> for Bounded<T, N>
605 fn bitand(self, rhs: Bounded<T, M>) -> Self::Output { in bitand()
610 impl<T, const N: u32, const M: u32> ops::BitOr<Bounded<T, M>> for Bounded<T, N>
617 fn bitor(self, rhs: Bounded<T, M>) -> Self::Output { in bitor()
622 impl<T, const N: u32, const M: u32> ops::BitXor<Bounded<T, M>> for Bounded<T, N>
629 fn bitxor(self, rhs: Bounded<T, M>) -> Self::Output { in bitxor()
634 impl<T, const N: u32, const M: u32> ops::Div<Bounded<T, M>> for Bounded<T, N>
641 fn div(self, rhs: Bounded<T, M>) -> Self::Output { in div()
646 impl<T, const N: u32, const M: u32> ops::Mul<Bounded<T, M>> for Bounded<T, N>
653 fn mul(self, rhs: Bounded<T, M>) -> Self::Output { in mul()
658 impl<T, const N: u32, const M: u32> ops::Rem<Bounded<T, M>> for Bounded<T, N>
665 fn rem(self, rhs: Bounded<T, M>) -> Self::Output { in rem()
670 impl<T, const N: u32, const M: u32> ops::Sub<Bounded<T, M>> for Bounded<T, N>
677 fn sub(self, rhs: Bounded<T, M>) -> Self::Output { in sub()