Struct glib::object::GenericObject
[−]
[src]
pub struct GenericObject<T>(_, _);
The crate-local generic type for GObject
descendants in GLib.
pub struct GenericObject<T>(_, _);
The crate-local generic type for GObject
descendants in GLib.
impl<T> Wrapper for GenericObject<T> where GenericObject<T>: StaticType
type GlibType = T
unsafe fn wrap(r: Ref) -> GenericObject<T>
fn as_ref(&self) -> &Ref
fn unwrap(self) -> Ref
impl<T> Clone for GenericObject<T>
fn clone(&self) -> GenericObject<T>
fn clone_from(&mut self, source: &Self)
impl<T> Upcast<Object> for GenericObject<T> where GenericObject<T>: StaticType
fn upcast(&self) -> VirtualRef<T::GlibType>
impl<T: Debug> Debug for GenericObject<T> where T: Debug
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)