[][src]Trait glib::translate::GlibPtrDefault

pub trait GlibPtrDefault {
    type GlibType: Ptr;
}

Provides the default pointer type to be used in some container conversions.

It's *mut c_char for String, *mut GtkButton for gtk::Button, etc.

Associated Types

type GlibType: Ptr

Loading content...

Implementations on Foreign Types

impl<'a, T: ?Sized + GlibPtrDefault> GlibPtrDefault for &'a T[src]

type GlibType = <T as GlibPtrDefault>::GlibType

impl GlibPtrDefault for str[src]

type GlibType = *mut c_char

impl GlibPtrDefault for String[src]

type GlibType = *mut c_char

impl GlibPtrDefault for Path[src]

type GlibType = *mut c_char

impl GlibPtrDefault for PathBuf[src]

type GlibType = *mut c_char

impl GlibPtrDefault for OsStr[src]

type GlibType = *mut c_char

impl GlibPtrDefault for OsString[src]

type GlibType = *mut c_char

Loading content...

Implementors

impl GlibPtrDefault for GString[src]

Loading content...