pub trait CheckedSub: Sub<Self, Self> { fn checked_sub(&self, v: &Self) -> Option<Self>; }
fn checked_sub(&self, v: &Self) -> Option<Self>
impl CheckedSub for int
impl CheckedSub for i8
impl CheckedSub for i16
impl CheckedSub for i32
impl CheckedSub for i64
impl CheckedSub for uint
impl CheckedSub for u8
impl CheckedSub for u16
impl CheckedSub for u32
impl CheckedSub for u64
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).