Struct helix::Symbol
[−]
[src]
#[repr(C)]pub struct Symbol(_);
Methods
impl Symbol
[src]
pub fn from_id(id: ID) -> Symbol
[src]
pub fn to_id(self) -> ID
[src]
pub fn from_string(string: String) -> Symbol
[src]
pub fn to_string(self) -> String
[src]
Trait Implementations
impl FromRuby for Symbol
[src]
type Checked = CheckedValue<Symbol>
fn from_ruby(value: VALUE) -> CheckResult<CheckedValue<Symbol>>
[src]
fn from_checked(checked: CheckedValue<Symbol>) -> Symbol
[src]
fn from_ruby_unwrap(value: VALUE) -> Self
[src]
impl ToRuby for Symbol
[src]
fn to_ruby(self) -> ToRubyResult
[src]
impl Eq for Symbol
[src]
impl PartialEq for Symbol
[src]
fn eq(&self, __arg_0: &Symbol) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Symbol) -> bool
[src]
This method tests for !=
.
impl Hash for Symbol
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
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 Copy for Symbol
[src]
impl Clone for Symbol
[src]
fn clone(&self) -> Symbol
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more