Trait easy_imgui::IntoCStr
source · pub trait IntoCStr: Sized {
type Temp: Deref<Target = CStr>;
// Required methods
fn into(self) -> Self::Temp;
fn into_cstring(self) -> CString;
fn len(&self) -> usize;
// Provided methods
fn is_empty(&self) -> bool { ... }
unsafe fn push_to_non_null_vec(self, bs: &mut Vec<u8>) { ... }
}Expand description
Represents any type that can be converted into something that can be deref’ed to a &CStr.
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.