pub struct StringName(/* private fields */);
Implementations§
Source§impl StringName
impl StringName
pub fn from_str<S>(s: S)
pub fn from_c_str(s: &CStr) -> StringName
pub fn from_godot_string(s: &GodotString) -> StringName
pub fn get_hash(&self) -> u32
pub fn get_name(&self) -> GodotString
pub fn operator_less(&self, s: &StringName) -> bool
Trait Implementations§
Source§impl Debug for StringName
impl Debug for StringName
Source§impl Drop for StringName
impl Drop for StringName
Source§impl PartialEq for StringName
impl PartialEq for StringName
Source§impl PartialOrd for StringName
impl PartialOrd for StringName
impl Eq for StringName
Auto Trait Implementations§
impl Freeze for StringName
impl RefUnwindSafe for StringName
impl Send for StringName
impl Sync for StringName
impl Unpin for StringName
impl UnwindSafe for StringName
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more