[−][src]Struct rosy::object::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 Clone for Ty
[src]
fn clone(&self) -> Ty
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Ty> for Ty
[src]
impl Eq for Ty
[src]
impl Copy for Ty
[src]
impl Hash for Ty
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Ty
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,