[−][src]Trait mogwai::gizmo::SubGizmo
Anything that can be nested within a Gizmo.
Required methods
fn into_sub_gizmo(self) -> Result<Gizmo<Node>, Node>
Attempts to turn the Gizmo into a child gizmo who's inner element is a Node, if possible. Otherwise this will return a Node.
Implementors
impl<'_, T: JsCast + AsRef<Node> + Clone> SubGizmo for &'_ Gizmo<T>
[src]
impl<T> SubGizmo for GizmoComponent<T> where
T: Component,
T::DomNode: AsRef<Node>,
[src]
T: Component,
T::DomNode: AsRef<Node>,
impl<T> SubGizmo for T where
T: Component,
T::DomNode: AsRef<Node>,
[src]
T: Component,
T::DomNode: AsRef<Node>,