pub enum IntegerLiteral {
U8(u8),
I8(i8),
U16(u16),
I16(i16),
U32(u32),
I32(i32),
U64(u64),
I64(i64),
}Variants§
Implementations§
Source§impl IntegerLiteral
impl IntegerLiteral
pub fn default_value_from_type(type_: &IntegerType) -> Self
pub fn next(&self) -> Self
Trait Implementations§
Source§impl Clone for IntegerLiteral
impl Clone for IntegerLiteral
Source§fn clone(&self) -> IntegerLiteral
fn clone(&self) -> IntegerLiteral
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 IntegerLiteral
impl Debug for IntegerLiteral
Source§impl Display for IntegerLiteral
impl Display for IntegerLiteral
Source§impl Hash for IntegerLiteral
impl Hash for IntegerLiteral
Source§impl PartialEq for IntegerLiteral
impl PartialEq for IntegerLiteral
impl Copy for IntegerLiteral
impl Eq for IntegerLiteral
impl StructuralPartialEq for IntegerLiteral
Auto Trait Implementations§
impl Freeze for IntegerLiteral
impl RefUnwindSafe for IntegerLiteral
impl Send for IntegerLiteral
impl Sync for IntegerLiteral
impl Unpin for IntegerLiteral
impl UnwindSafe for IntegerLiteral
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.