Struct gtk::subclass::widget::TemplateChild [−][src]
#[repr(transparent)]pub struct TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>, { /* fields omitted */ }
Implementations
impl<T> TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T> TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
Trait Implementations
impl<T: Debug> Debug for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T: Debug> Debug for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T> Default for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T> Default for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T> Deref for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T> Deref for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
Safety
Since the template child may not be properly bound, this cast is potentially dangerous if, for example, the template child isn’t bound or is of the wrong type. The caller is responsible for ensuring that the template child is bound and of the right type.
type Target = T
type Target = T
The resulting type after dereferencing.
impl<T: PartialEq> PartialEq<TemplateChild<T>> for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T: PartialEq> PartialEq<TemplateChild<T>> for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T: Eq> Eq for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T> StructuralEq for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
impl<T> StructuralPartialEq for TemplateChild<T> where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
Auto Trait Implementations
impl<T> RefUnwindSafe for TemplateChild<T> where
<T as ObjectType>::GlibType: RefUnwindSafe,
impl<T> !Send for TemplateChild<T>
impl<T> !Sync for TemplateChild<T>
impl<T> Unpin for TemplateChild<T>
impl<T> UnwindSafe for TemplateChild<T> where
<T as ObjectType>::GlibType: RefUnwindSafe,