Trait gobject_subclass::object::ObjectImpl [−][src]
pub trait ObjectImpl<T: ObjectBase>: AnyImpl + 'static { fn set_property(&self, _obj: &Object, _id: u32, _value: &Value) { ... } fn get_property(&self, _obj: &Object, _id: u32) -> Result<Value, ()> { ... } }
Provided Methods
fn set_property(&self, _obj: &Object, _id: u32, _value: &Value)
fn get_property(&self, _obj: &Object, _id: u32) -> Result<Value, ()>
Methods
impl<T: ObjectBase> ObjectImpl<T>
[src]
impl<T: ObjectBase> ObjectImpl<T>
pub fn downcast_ref<U: ObjectImpl<T>>(&self) -> Option<&U>
[src]
pub fn downcast_ref<U: ObjectImpl<T>>(&self) -> Option<&U>
pub unsafe fn downcast_ref_unchecked<U: ObjectImpl<T>>(&self) -> &U
[src]
pub unsafe fn downcast_ref_unchecked<U: ObjectImpl<T>>(&self) -> &U
pub fn is<U: ObjectImpl<T>>(&self) -> bool
[src]
pub fn is<U: ObjectImpl<T>>(&self) -> bool
Implementations on Foreign Types
impl<T: ObjectBase> ObjectImpl<T> for Box<ObjectImpl<T>>
[src]
impl<T: ObjectBase> ObjectImpl<T> for Box<ObjectImpl<T>>