[][src]Struct azul_core::callbacks::RefAny

pub struct RefAny { /* fields omitted */ }

Implementations

impl RefAny[src]

pub fn downcast<T: 'static>(&self) -> Option<&RefCell<T>>[src]

Casts the type-erased pointer back to a RefCell<T>

pub fn get_type_name(&self) -> &'static str[src]

Returns the compiler-generated string of the type (std::any::type_name). Very useful for debugging

Trait Implementations

impl Clone for RefAny[src]

impl Debug for RefAny[src]

impl Eq for RefAny[src]

impl<T: 'static> From<Ref<T>> for RefAny[src]

impl Hash for RefAny[src]

impl Ord for RefAny[src]

impl PartialEq<RefAny> for RefAny[src]

impl PartialOrd<RefAny> for RefAny[src]

Auto Trait Implementations

impl !RefUnwindSafe for RefAny

impl !Send for RefAny

impl !Sync for RefAny

impl Unpin for RefAny

impl !UnwindSafe for RefAny

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.