Trait easy_imgui::IntoCStr

source ·
pub trait IntoCStr {
    type Temp: Deref<Target = CStr>;

    // Required method
    fn into(self) -> Self::Temp;
}
Expand description

Represents any type that can be converted into something that can be deref’ed to a &CStr.

Required Associated Types§

source

type Temp: Deref<Target = CStr>

Required Methods§

source

fn into(self) -> Self::Temp

Implementations on Foreign Types§

source§

impl IntoCStr for &str

§

type Temp = CString

source§

fn into(self) -> Self::Temp

source§

impl IntoCStr for &String

§

type Temp = CString

source§

fn into(self) -> Self::Temp

source§

impl IntoCStr for &CStr

§

type Temp = &CStr

source§

fn into(self) -> Self

source§

impl IntoCStr for CString

§

type Temp = CString

source§

fn into(self) -> Self

source§

impl IntoCStr for String

§

type Temp = CString

source§

fn into(self) -> Self::Temp

source§

impl<'a> IntoCStr for &'a CString

§

type Temp = &'a CStr

source§

fn into(self) -> &'a CStr

Implementors§