pub enum IntegerKind {
Isize,
I8,
I16,
I32,
I64,
I128,
Usize,
U8,
U16,
U32,
U64,
U128,
}Variants§
Implementations§
Source§impl IntegerKind
impl IntegerKind
pub fn is_unsigned(&self) -> bool
Trait Implementations§
Source§impl Clone for IntegerKind
impl Clone for IntegerKind
Source§fn clone(&self) -> IntegerKind
fn clone(&self) -> IntegerKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntegerKind
impl Debug for IntegerKind
Source§impl Default for IntegerKind
impl Default for IntegerKind
Source§fn default() -> IntegerKind
fn default() -> IntegerKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for IntegerKind
impl PartialEq for IntegerKind
impl StructuralPartialEq for IntegerKind
Auto Trait Implementations§
impl Freeze for IntegerKind
impl RefUnwindSafe for IntegerKind
impl Send for IntegerKind
impl Sync for IntegerKind
impl Unpin for IntegerKind
impl UnwindSafe for IntegerKind
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