pub enum RubyTypeExt {
Show 15 variants
Integer,
Float,
String,
Symbol,
Bool,
Nil,
Array(Box<RubyTypeExt>),
Hash(Box<RubyTypeExt>, Box<RubyTypeExt>),
Proc,
Lambda,
Range,
Struct(String),
Class(String),
Module(String),
Any,
}Expand description
Ruby type (extended)
Variants§
Integer
Float
String
Symbol
Bool
Nil
Array(Box<RubyTypeExt>)
Hash(Box<RubyTypeExt>, Box<RubyTypeExt>)
Proc
Lambda
Range
Struct(String)
Class(String)
Module(String)
Any
Trait Implementations§
Source§impl Clone for RubyTypeExt
impl Clone for RubyTypeExt
Source§fn clone(&self) -> RubyTypeExt
fn clone(&self) -> RubyTypeExt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RubyTypeExt
impl Debug for RubyTypeExt
Source§impl Display for RubyTypeExt
impl Display for RubyTypeExt
Source§impl PartialEq for RubyTypeExt
impl PartialEq for RubyTypeExt
impl StructuralPartialEq for RubyTypeExt
Auto Trait Implementations§
impl Freeze for RubyTypeExt
impl RefUnwindSafe for RubyTypeExt
impl Send for RubyTypeExt
impl Sync for RubyTypeExt
impl Unpin for RubyTypeExt
impl UnsafeUnpin for RubyTypeExt
impl UnwindSafe for RubyTypeExt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more