pub struct Agg(/* private fields */);Implementations§
Source§impl Agg
impl Agg
pub fn new(v: u32) -> Self
pub fn iter(&self) -> impl Iterator<Item = Agg>
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub fn maximize(&self, other: Self) -> Self
pub fn maximize_assign(&mut self, other: Self)
pub fn minimize(&self, other: Self) -> Self
pub fn as_usize(&self) -> usize
pub fn as_u64(&self) -> u64
pub fn as_i64(&self) -> Option<i64>
Trait Implementations§
Source§impl AddAssign<Agg> for Acc
impl AddAssign<Agg> for Acc
Source§fn add_assign(&mut self, other: Agg)
fn add_assign(&mut self, other: Agg)
Performs the
+= operation. Read moreSource§impl PartialOrd for Agg
impl PartialOrd for Agg
impl Copy for Agg
impl StructuralPartialEq for Agg
Auto Trait Implementations§
impl Freeze for Agg
impl RefUnwindSafe for Agg
impl Send for Agg
impl Sync for Agg
impl Unpin for Agg
impl UnwindSafe for Agg
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