[−][src]Struct imgui::ImStr
Methods
impl ImStr
[src]
pub fn new<S: AsRef<ImStr> + ?Sized>(s: &S) -> &ImStr
[src]
pub unsafe fn from_utf8_with_nul_unchecked(bytes: &[u8]) -> &ImStr
[src]
pub fn as_ptr(&self) -> *const c_char
[src]
pub fn to_str(&self) -> &str
[src]
Trait Implementations
impl Eq for ImStr
[src]
impl PartialOrd<ImStr> for ImStr
[src]
fn partial_cmp(&self, other: &ImStr) -> Option<Ordering>
[src]
fn lt(&self, other: &ImStr) -> bool
[src]
fn le(&self, other: &ImStr) -> bool
[src]
fn gt(&self, other: &ImStr) -> bool
[src]
fn ge(&self, other: &ImStr) -> bool
[src]
impl ToOwned for ImStr
[src]
type Owned = ImString
fn to_owned(&self) -> ImString
[src]
default fn clone_into(&self, target: &mut Self::Owned)
[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl PartialEq<ImStr> for ImStr
[src]
impl AsRef<ImStr> for ImString
[src]
impl AsRef<CStr> for ImStr
[src]
impl AsRef<ImStr> for ImStr
[src]
impl AsRef<str> for ImStr
[src]
impl<'a> Default for &'a ImStr
[src]
impl Ord for ImStr
[src]
fn cmp(&self, other: &ImStr) -> Ordering
[src]
default fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
default fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
default fn clamp(self, min: Self, max: Self) -> Self
[src]
🔬 This is a nightly-only experimental API. (
clamp
)Restrict a value to a certain interval. Read more
impl Debug for ImStr
[src]
impl Hash for ImStr
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
default 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