pub enum IntConstantType {
Standard(IntKind),
BitInt {
signed: bool,
width: u32,
},
}Expand description
The type of an integer constant.
Variants§
Standard(IntKind)
One of the integer kinds, chosen by the table walk.
BitInt
A _BitInt of exactly the width it takes to hold the value.
Trait Implementations§
Source§impl Clone for IntConstantType
impl Clone for IntConstantType
Source§fn clone(&self) -> IntConstantType
fn clone(&self) -> IntConstantType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntConstantType
Source§impl Debug for IntConstantType
impl Debug for IntConstantType
impl Eq for IntConstantType
Source§impl PartialEq for IntConstantType
impl PartialEq for IntConstantType
impl StructuralPartialEq for IntConstantType
Auto Trait Implementations§
impl Freeze for IntConstantType
impl RefUnwindSafe for IntConstantType
impl Send for IntConstantType
impl Sync for IntConstantType
impl Unpin for IntConstantType
impl UnsafeUnpin for IntConstantType
impl UnwindSafe for IntConstantType
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