glib::translate

Trait GlibPtrDefault

Source
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§