pub enum IntegerType {
Pointer(bool),
Fixed(Integer, bool),
}
Variants§
Pointer(bool)
Pointer-sized integer type, i.e. isize
and usize
. The field shows signedness, e.g.
Pointer(true)
means isize
.
Fixed(Integer, bool)
Fixed-sized integer type, e.g. i8
, u32
, i128
. The bool field shows signedness, e.g.
Fixed(I8, false)
means u8
.
Implementations§
Trait Implementations§
Source§impl Clone for IntegerType
impl Clone for IntegerType
Source§fn clone(&self) -> IntegerType
fn clone(&self) -> IntegerType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IntegerType
impl Debug for IntegerType
Source§impl PartialEq for IntegerType
impl PartialEq for IntegerType
impl Copy for IntegerType
impl Eq for IntegerType
impl StructuralPartialEq for IntegerType
Auto Trait Implementations§
impl Freeze for IntegerType
impl RefUnwindSafe for IntegerType
impl Send for IntegerType
impl Sync for IntegerType
impl Unpin for IntegerType
impl UnwindSafe for IntegerType
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