Trait MoreFrom

Source
pub trait MoreFrom<T>: Sized {
    // Required method
    fn more_from(value: T) -> Self;
}

Required Methods§

Source

fn more_from(value: T) -> Self

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.

Implementations on Foreign Types§

Source§

impl MoreFrom<&CStr> for PathBuf

Source§

fn more_from(value: &CStr) -> Self

Source§

impl<'t> MoreFrom<&'t CStr> for &'t OsStr

Source§

fn more_from(value: &'t CStr) -> Self

Source§

impl<'t> MoreFrom<&'t CStr> for &'t Path

Source§

fn more_from(value: &'t CStr) -> Self

Implementors§