[][src]Struct rosy::object::Ty

pub struct Ty(_);

A Ruby virtual type.

Methods

impl Ty[src]

pub const NONE: Ty[src]

None type.

pub const OBJECT: Ty[src]

Object type.

pub const CLASS: Ty[src]

Class type.

pub const MODULE: Ty[src]

Module type.

pub const FLOAT: Ty[src]

Float type.

pub const STRING: Ty[src]

String type.

pub const REGEXP: Ty[src]

Regexp type.

pub const ARRAY: Ty[src]

Array type.

pub const HASH: Ty[src]

Hash type.

pub const STRUCT: Ty[src]

Struct type.

pub const BIGNUM: Ty[src]

Bignum type.

pub const FILE: Ty[src]

File type.

pub const DATA: Ty[src]

Data type.

pub const MATCH: Ty[src]

Match type.

pub const COMPLEX: Ty[src]

Complex type.

pub const RATIONAL: Ty[src]

Rational type.

pub const NIL: Ty[src]

Nil type.

pub const TRUE: Ty[src]

True type.

pub const FALSE: Ty[src]

False type.

pub const SYMBOL: Ty[src]

Symbol type.

pub const FIXNUM: Ty[src]

Fixnum type.

pub const UNDEF: Ty[src]

Undef type.

pub const IMEMO: Ty[src]

IMemo type.

pub const NODE: Ty[src]

Node type.

pub const ICLASS: Ty[src]

IClass type.

pub const ZOMBIE: Ty[src]

Zombie type.

pub const fn id(self) -> u32[src]

Returns the numerical identifier for the type.

pub fn name<'a>(self) -> Option<&'a str>[src]

Returns a name describing the type.

Trait Implementations

impl Eq for Ty[src]

impl PartialEq<Ty> for Ty[src]

impl Copy for Ty[src]

impl Clone for Ty[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Ty[src]

impl Hash for Ty[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

Auto Trait Implementations

impl Send for Ty

impl Sync for Ty

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]