Struct gdnative::StringName
[−]
[src]
pub struct StringName(_);
Methods
impl StringName
[src]
pub fn from_str<S>(s: S) where
S: AsRef<str>,
[src]
S: AsRef<str>,
pub fn from_c_str(s: &CStr) -> Self
[src]
pub fn from_godot_string(s: &GodotString) -> Self
[src]
pub fn get_hash(&self) -> u32
[src]
pub fn get_name(&self) -> GodotString
[src]
pub fn operator_less(&self, s: &StringName) -> bool
[src]
Trait Implementations
impl Drop for StringName
[src]
impl PartialEq for StringName
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for StringName
[src]
impl Debug for StringName
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl PartialOrd for StringName
[src]
fn partial_cmp(&self, other: &StringName) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more