pub struct TemplateChild<T>{ /* private fields */ }Implementations§
Source§impl<T> TemplateChild<T>
impl<T> TemplateChild<T>
Trait Implementations§
Source§impl<T> Debug for TemplateChild<T>
impl<T> Debug for TemplateChild<T>
Source§impl<T> Default for TemplateChild<T>
impl<T> Default for TemplateChild<T>
Source§impl<T> Deref for TemplateChild<T>
impl<T> Deref for TemplateChild<T>
Source§fn deref(&self) -> &Self::Target
fn deref(&self) -> &Self::Target
§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.
impl<T> Eq for TemplateChild<T>
Source§impl<T> PartialEq for TemplateChild<T>
impl<T> PartialEq for TemplateChild<T>
impl<T> StructuralPartialEq for TemplateChild<T>
Auto Trait Implementations§
impl<T> !Send for TemplateChild<T>
impl<T> !Sync for TemplateChild<T>
impl<T> Freeze for TemplateChild<T>
impl<T> RefUnwindSafe for TemplateChild<T>
impl<T> Unpin for TemplateChild<T>
impl<T> UnsafeUnpin for TemplateChild<T>
impl<T> UnwindSafe for TemplateChild<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more