Struct gdnative_visual_script::common::StringName [−]
pub struct StringName(_);
Methods
impl StringName
impl StringNamepub fn from_str<S>(s: S) where
S: AsRef<str>,
pub fn from_str<S>(s: S) where
S: AsRef<str>, pub fn from_c_str(s: &CStr) -> StringName
pub fn from_c_str(s: &CStr) -> StringNamepub fn from_godot_string(s: &GodotString) -> StringName
pub fn from_godot_string(s: &GodotString) -> StringNamepub fn get_hash(&self) -> u32
pub fn get_hash(&self) -> u32pub fn get_name(&self) -> GodotString
pub fn get_name(&self) -> GodotStringpub fn operator_less(&self, s: &StringName) -> bool
pub fn operator_less(&self, s: &StringName) -> boolTrait Implementations
impl PartialOrd<StringName> for StringName
impl PartialOrd<StringName> for StringNamefn partial_cmp(&self, other: &StringName) -> Option<Ordering>
fn partial_cmp(&self, other: &StringName) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
fn lt(&self, other: &Rhs) -> bool1.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) -> bool1.0.0[src]
fn le(&self, other: &Rhs) -> bool1.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) -> bool1.0.0[src]
fn gt(&self, other: &Rhs) -> bool1.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) -> bool1.0.0[src]
fn ge(&self, other: &Rhs) -> bool1.0.0
[src]This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for StringName
impl Debug for StringNamefn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Eq for StringName
impl Eq for StringNameimpl Drop for StringName
impl Drop for StringNameimpl PartialEq<StringName> for StringName
impl PartialEq<StringName> for StringNameAuto Trait Implementations
impl Send for StringName
impl Send for StringNameimpl Sync for StringName
impl Sync for StringName