Skip to main content

PdCStrExt

Trait PdCStrExt 

Source
pub trait PdCStrExt {
    // Required methods
    fn from_c_str(s: &CStr) -> &Self;
    fn as_c_str(&self) -> &CStr;
}
Available on non-Windows only.

Required Methods§

Source

fn from_c_str(s: &CStr) -> &Self

Source

fn as_c_str(&self) -> &CStr

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§