Enum syn::IntSuffix [−][src]
pub enum IntSuffix {
I8,
I16,
I32,
I64,
I128,
Isize,
U8,
U16,
U32,
U64,
U128,
Usize,
None,
}The suffix on an integer literal if any, like the u8 in 127u8.
This type is available if Syn is built with the "derive" or "full"
feature.
Variants
I8I16I32I64I128IsizeU8U16U32U64U128UsizeNone
Trait Implementations
impl Debug for IntSuffix[src]
impl Debug for IntSuffixfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for IntSuffix[src]
impl Eq for IntSuffiximpl PartialEq for IntSuffix[src]
impl PartialEq for IntSuffixfn eq(&self, other: &IntSuffix) -> bool[src]
fn eq(&self, other: &IntSuffix) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Hash for IntSuffix[src]
impl Hash for IntSuffixfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for IntSuffix[src]
impl Clone for IntSuffix