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
I8
I16
I32
I64
I128
Isize
U8
U16
U32
U64
U128
Usize
None
Trait Implementations
impl Debug for IntSuffix
[src]
impl Debug for IntSuffix
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for IntSuffix
[src]
impl Eq for IntSuffix
impl PartialEq for IntSuffix
[src]
impl PartialEq for IntSuffix
fn eq(&self, other: &IntSuffix) -> bool
[src]
fn eq(&self, other: &IntSuffix) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for IntSuffix
[src]
impl Hash for IntSuffix
fn 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