[][src]Struct gdnative::prelude::GodotString

pub struct GodotString(_);

Godot's reference-counted string type.

Implementations

impl GodotString[src]

pub fn new() -> GodotString[src]

pub fn from_str<S>(s: S) -> GodotString where
    S: AsRef<str>, 
[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn is_numeric(&self) -> bool[src]

pub fn is_valid_float(&self) -> bool[src]

pub fn is_valid_html_color(&self) -> bool[src]

pub fn is_valid_identifier(&self) -> bool[src]

pub fn is_valid_integer(&self) -> bool[src]

pub fn is_valid_ip_address(&self) -> bool[src]

pub fn is_resource_file(&self) -> bool[src]

pub fn is_absolute_path(&self) -> bool[src]

pub fn is_relative_path(&self) -> bool[src]

pub fn to_f32(&self) -> f32[src]

pub fn to_f64(&self) -> f64[src]

pub fn to_i32(&self) -> i32[src]

pub fn u32_hash(&self) -> u32[src]

pub fn u64_hash(&self) -> u64[src]

pub fn hex_to_int(&self) -> i32[src]

pub fn hex_to_int_without_prefix(&self) -> i32[src]

pub fn camelcase_to_underscore(&self) -> GodotString[src]

pub fn camelcase_to_underscore_lowercased(&self) -> GodotString[src]

pub fn capitalize(&self) -> GodotString[src]

pub fn to_lowercase(&self) -> GodotString[src]

pub fn to_uppercase(&self) -> GodotString[src]

pub fn get_file(&self) -> GodotString[src]

pub fn get_base_dir(&self) -> GodotString[src]

pub fn get_basename(&self) -> GodotString[src]

pub fn get_extension(&self) -> GodotString[src]

pub fn simplify_path(&self) -> GodotString[src]

pub fn sha256_text(&self) -> GodotString[src]

pub fn md5_text(&self) -> GodotString[src]

pub fn c_escape(&self) -> GodotString[src]

pub fn c_escape_multiline(&self) -> GodotString[src]

pub fn c_unescape(&self) -> GodotString[src]

pub fn http_escape(&self) -> GodotString[src]

pub fn http_unescape(&self) -> GodotString[src]

pub fn json_escape(&self) -> GodotString[src]

pub fn xml_escape(&self) -> GodotString[src]

pub fn xml_escape_with_quotes(&self) -> GodotString[src]

pub fn xml_unescape(&self) -> GodotString[src]

pub fn percent_decode(&self) -> GodotString[src]

pub fn percent_encode(&self) -> GodotString[src]

pub fn is_valid_hex_number(&self, with_prefix: bool) -> bool[src]

pub fn begins_with(&self, s: &GodotString) -> bool[src]

pub fn ends_with(&self, s: &GodotString) -> bool[src]

pub fn begins_with_c_str(&self, s: &CStr) -> bool[src]

pub fn sub_string(&self, range: Range<usize>) -> GodotString[src]

pub fn find(&self, what: &GodotString) -> i32[src]

pub fn find_from(&self, what: &GodotString, from: i32) -> i32[src]

pub fn find_last(&self, what: &GodotString) -> i32[src]

Trait Implementations

impl Clone for GodotString[src]

impl Debug for GodotString[src]

impl Default for GodotString[src]

impl Display for GodotString[src]

impl Drop for GodotString[src]

impl Element for GodotString[src]

type SysArray = godot_pool_string_array

type SysReadAccess = godot_pool_array_read_access

type SysWriteAccess = godot_pool_array_write_access

type SysTy = godot_string

type SysRefTy = *const godot_string

impl Eq for GodotString[src]

impl Export for GodotString[src]

type Hint = StringHint

A type-specific hint type that is valid for the type being exported.

impl From<GodotString> for NodePath[src]

impl<S> From<S> for GodotString where
    S: AsRef<str>, 
[src]

impl FromVariant for GodotString[src]

impl Hash for GodotString[src]

impl Into<GodotString> for NodePath[src]

impl NewRef for GodotString[src]

impl PartialEq<GodotString> for GodotString[src]

impl ToVariant for GodotString[src]

impl ToVariantEq for GodotString[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OwnedToVariant for T where
    T: ToVariant
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.