[][src]Trait guion::path::sub::SubPath

pub trait SubPath<E>: Clone + PartialEq<Self> + Sized where
    E: Env
{ fn from_id(id: E::WidgetID) -> Self;
fn eq_id(&self, id: E::WidgetID) -> bool;
fn into_id(self) -> E::WidgetID;
fn is<T: Any>(&self) -> bool;
fn downcast_ref<T: Any>(&self) -> Option<&T>;
fn downcast_mut<T: Any>(&mut self) -> Option<&mut T>;
fn downcast_into<T: Any>(self) -> Result<T, Self>
    where
        Self: Sized + 'static
; fn eq<I: SubPath<F> + 'static, F: Env>(&self, o: &I) -> bool
    where
        Self: 'static
, { ... } }

Required methods

fn from_id(id: E::WidgetID) -> Self

fn eq_id(&self, id: E::WidgetID) -> bool

fn into_id(self) -> E::WidgetID

fn is<T: Any>(&self) -> bool

fn downcast_ref<T: Any>(&self) -> Option<&T>

fn downcast_mut<T: Any>(&mut self) -> Option<&mut T>

fn downcast_into<T: Any>(self) -> Result<T, Self> where
    Self: Sized + 'static, 

Loading content...

Provided methods

fn eq<I: SubPath<F> + 'static, F: Env>(&self, o: &I) -> bool where
    Self: 'static, 

Loading content...

Implementors

impl<E> SubPath<E> for StdID where
    E: Env,
    E::WidgetID: Into<Self> + From<Self>, 
[src]

Loading content...