binaryninja::string

Trait IntoCStr

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

    // Required method
    fn to_cstr(self) -> Self::Result;
}

Required Associated Types§

source

type Result: Deref<Target = CStr>

Required Methods§

source

fn to_cstr(self) -> Self::Result

Implementations on Foreign Types§

source§

impl IntoCStr for &str

source§

impl IntoCStr for &String

source§

impl IntoCStr for &CStr

source§

type Result = &CStr

source§

fn to_cstr(self) -> Self::Result

source§

impl IntoCStr for &Path

source§

impl IntoCStr for Cow<'_, str>

source§

impl IntoCStr for CString

source§

impl IntoCStr for String

source§

impl IntoCStr for PathBuf

source§

impl<'a> IntoCStr for &'a Cow<'a, str>

Implementors§