pub struct IntegerType {
pub signed: bool,
pub bits: u8,
pub is_unspecified: bool,
}
Expand description
Represents an integer type with its properties
Fields§
§signed: bool
Whether the integer is signed or unsigned
bits: u8
The number of bits (e.g., 32 for i32)
is_unspecified: bool
Whether this is an unspecified integer (used for literals without explicit type)
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 Hash for IntegerType
impl Hash for IntegerType
Source§impl PartialEq for IntegerType
impl PartialEq 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