pub trait GlibPtrDefault {
    type GlibType: Ptr;
}
Expand description

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.

Required Associated Types§

Implementations on Foreign Types§

source§

impl GlibPtrDefault for str

source§

impl GlibPtrDefault for String

source§

impl GlibPtrDefault for OsStr

source§

impl GlibPtrDefault for OsString

source§

impl GlibPtrDefault for Path

source§

impl GlibPtrDefault for PathBuf

source§

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

Implementors§