Skip to main content

IntoBStr

Trait IntoBStr 

Source
pub trait IntoBStr {
    type BStr: AsBStrPtr;

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

Similar to Into<BString>, except that this won’t require copying &BStr or &BString arguments.

Required Associated Types§

Required Methods§

Source

fn into(self) -> Self::BStr

Implementations on Foreign Types§

Source§

impl IntoBStr for &str

Source§

impl IntoBStr for &String

Source§

impl IntoBStr for &OsStr

Source§

impl IntoBStr for &OsString

Source§

impl IntoBStr for &Path

Source§

impl IntoBStr for &PathBuf

Source§

impl IntoBStr for String

Source§

impl IntoBStr for OsString

Source§

impl IntoBStr for PathBuf

Implementors§

Source§

impl<B: AsRef<BStr>> IntoBStr for B

Source§

type BStr = B