[−][src]Struct glib::auto::BindingClass
Methods from Deref<Target = <Object as ObjectType>::RustClassType>
Trait Implementations
impl IsClassFor for BindingClass
[src]
type Instance = Binding
Corresponding Rust instance type for this class.
fn get_type(&self) -> Type
[src]
Get the type id for this class.
fn upcast_ref<U: IsClassFor>(&self) -> &U where
Self::Instance: IsA<U::Instance>,
U::Instance: ObjectType,
[src]
Self::Instance: IsA<U::Instance>,
U::Instance: ObjectType,
Casts this class to a reference to a parent type's class.
fn upcast_ref_mut<U: IsClassFor>(&mut self) -> &mut U where
Self::Instance: IsA<U::Instance>,
U::Instance: ObjectType,
[src]
Self::Instance: IsA<U::Instance>,
U::Instance: ObjectType,
Casts this class to a mutable reference to a parent type's class.
fn downcast_ref<U: IsClassFor>(&self) -> Option<&U> where
U::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
Casts this class to a reference to a child type's class or fails if this class is not implementing the child class. Read more
fn downcast_ref_mut<U: IsClassFor>(&mut self) -> Option<&mut U> where
U::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
Casts this class to a mutable reference to a child type's class or fails if this class is not implementing the child class. Read more
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
Gets the class struct corresponding to type_
. Read more
impl Sync for BindingClass
[src]
impl Send for BindingClass
[src]
impl DerefMut for BindingClass
[src]
impl Deref for BindingClass
[src]
type Target = <Object as ObjectType>::RustClassType
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,