[−][src]Struct lib_ruby_parser::nodes::Rational
Represents rational literal (e.g. 1r
)
Fields
value: String
String value of the literal, String("1r")
for 1r
operator_l: Option<Range>
Location of the unary -
(but not +
)
-1r
~
expression_l: Range
Location of the full expression
-1r
~~~
Trait Implementations
impl Clone for Rational
[src][+]
impl Debug for Rational
[src][+]
impl PartialEq<Rational> for Rational
[src][+]
impl StructuralPartialEq for Rational
[src]
Auto Trait Implementations
impl RefUnwindSafe for Rational
[src]
impl Send for Rational
[src]
impl Sync for Rational
[src]
impl Unpin for Rational
[src]
impl UnwindSafe for Rational
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,