Struct gtk4::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 !=
.