pub struct Max<T>(pub T);
Expand description
最大値を演算とする代数的構造
Tuple Fields§
§0: T
Trait Implementations§
impl Associative for Max<i128>
impl Associative for Max<i16>
impl Associative for Max<i32>
impl Associative for Max<i64>
impl Associative for Max<i8>
impl Associative for Max<isize>
impl Associative for Max<u128>
impl Associative for Max<u16>
impl Associative for Max<u32>
impl Associative for Max<u64>
impl Associative for Max<u8>
impl Associative for Max<usize>
impl Commutative for Max<i128>
impl Commutative for Max<i16>
impl Commutative for Max<i32>
impl Commutative for Max<i64>
impl Commutative for Max<i8>
impl Commutative for Max<isize>
impl Commutative for Max<u128>
impl Commutative for Max<u16>
impl Commutative for Max<u32>
impl Commutative for Max<u64>
impl Commutative for Max<u8>
impl Commutative for Max<usize>
impl<T: Copy> Copy for Max<T>
impl<T: Eq> Eq for Max<T>
impl Idempotence for Max<i128>
impl Idempotence for Max<i16>
impl Idempotence for Max<i32>
impl Idempotence for Max<i64>
impl Idempotence for Max<i8>
impl Idempotence for Max<isize>
impl Idempotence for Max<u128>
impl Idempotence for Max<u16>
impl Idempotence for Max<u32>
impl Idempotence for Max<u64>
impl Idempotence for Max<u8>
impl Idempotence for Max<usize>
impl Set for Max<i128>
impl Set for Max<i16>
impl Set for Max<i32>
impl Set for Max<i64>
impl Set for Max<i8>
impl Set for Max<isize>
impl Set for Max<u128>
impl Set for Max<u16>
impl Set for Max<u32>
impl Set for Max<u64>
impl Set for Max<u8>
impl Set for Max<usize>
impl<T> StructuralPartialEq for Max<T>
Auto Trait Implementations§
impl<T> Freeze for Max<T>where
T: Freeze,
impl<T> RefUnwindSafe for Max<T>where
T: RefUnwindSafe,
impl<T> Send for Max<T>where
T: Send,
impl<T> Sync for Max<T>where
T: Sync,
impl<T> Unpin for Max<T>where
T: Unpin,
impl<T> UnwindSafe for Max<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more