Enum syn::FloatSuffix
source · pub enum FloatSuffix {
F32,
F64,
None,
}
Expand description
The suffix on a floating point literal if any, like the f32
in
1.0f32
.
This type is available if Syn is built with the "derive"
or "full"
feature.
Variants
F32
F64
None
Trait Implementations
sourceimpl Clone for FloatSuffix
impl Clone for FloatSuffix
sourcefn clone(&self) -> FloatSuffix
fn clone(&self) -> FloatSuffix
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FloatSuffix
impl Debug for FloatSuffix
sourceimpl Hash for FloatSuffix
impl Hash for FloatSuffix
sourceimpl PartialEq<FloatSuffix> for FloatSuffix
impl PartialEq<FloatSuffix> for FloatSuffix
sourcefn eq(&self, other: &FloatSuffix) -> bool
fn eq(&self, other: &FloatSuffix) -> bool
impl Eq for FloatSuffix
impl StructuralEq for FloatSuffix
impl StructuralPartialEq for FloatSuffix
Auto Trait Implementations
impl RefUnwindSafe for FloatSuffix
impl Send for FloatSuffix
impl Sync for FloatSuffix
impl Unpin for FloatSuffix
impl UnwindSafe for FloatSuffix
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more