[][src]Struct imgui::ImStr

pub struct 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]

impl ToOwned for ImStr[src]

type Owned = ImString

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]

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]

default fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Borrow<ImStr> for ImString[src]

Auto Trait Implementations

impl Send for ImStr

impl Sync for ImStr

Blanket Implementations

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

type Owned = T

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

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

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