use crate::{IntIncDecExt, omm, opp, wmm, wpp};
impl IntIncDecExt for i8
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for i16
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for i32
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for i64
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for i128
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for isize
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for u8
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for u16
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for u32
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for u64
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for u128
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}
impl IntIncDecExt for usize
{
fn opp(&mut self) -> (Self, bool)
{
opp!(self)
}
fn omm(&mut self) -> (Self, bool)
{
omm!(self)
}
fn wpp(&mut self) -> Self
{
wpp!(self)
}
fn wmm(&mut self) -> Self
{
wmm!(self)
}
}