[−][src]Struct lib_ruby_parser::nodes::Complex
Represents a Complex
literal (that returns an Complex
number)
Fields
value: String
Value of the complex literal, returned as a String
, String("1i")
for 1i
operator_l: Option<Range>
Location of the -
(but not +
) operator. +
is a part of the literal:
1. +1i
is String("+1i")
with operator = None
2. -1i
is String("1i")
with operator = String("-")
-1i
~
expression_l: Range
Location of the full expression
-1i
~~~
Trait Implementations
impl Clone for Complex
[src][+]
impl Debug for Complex
[src][+]
impl PartialEq<Complex> for Complex
[src][+]
impl StructuralPartialEq for Complex
[src]
Auto Trait Implementations
impl RefUnwindSafe for Complex
impl Send for Complex
impl Sync for Complex
impl Unpin for Complex
impl UnwindSafe for Complex
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>,