[][src]Struct glib::object::ObjectClass

#[repr(C)]
pub struct ObjectClass(_);

Methods

impl ObjectClass[src]

pub fn has_property<'a, N: Into<&'a str>>(
    &self,
    property_name: N,
    type_: Option<Type>
) -> Result<(), BoolError>
[src]

pub fn get_property_type<'a, N: Into<&'a str>>(
    &self,
    property_name: N
) -> Option<Type>
[src]

pub fn find_property<'a, N: Into<&'a str>>(
    &self,
    property_name: N
) -> Option<ParamSpec>
[src]

pub fn list_properties(&self) -> Vec<ParamSpec>[src]

Trait Implementations

impl Debug for ObjectClass[src]

impl IsClassFor for ObjectClass[src]

type Instance = Object

Corresponding Rust instance type for this class.

impl<T: ObjectSubclass> IsSubclassable<T> for ObjectClass[src]

impl ObjectClassSubclassExt for ObjectClass[src]

impl Send for ObjectClass[src]

impl Sync for ObjectClass[src]

Auto Trait Implementations

impl RefUnwindSafe for ObjectClass

impl Unpin for ObjectClass

impl UnwindSafe for ObjectClass

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.