Struct sep2_common::packages::primitives::Int32
source · pub struct Int32(pub i32);
Expand description
Signed integer, max inclusive 2147483647 (2^31), min inclusive -2147483647 (same as xs:int)
Tuple Fields§
§0: i32
Methods from Deref<Target = i32>§
pub const MIN: i32 = -2_147_483_648i32
pub const MAX: i32 = 2_147_483_647i32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl Ord for Int32
impl Ord for Int32
source§impl PartialEq<Int32> for Int32
impl PartialEq<Int32> for Int32
source§impl PartialOrd<Int32> for Int32
impl PartialOrd<Int32> for Int32
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Int32
impl Eq for Int32
impl StructuralEq for Int32
impl StructuralPartialEq for Int32
Auto Trait Implementations§
impl RefUnwindSafe for Int32
impl Send for Int32
impl Sync for Int32
impl Unpin for Int32
impl UnwindSafe for Int32
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