Trait SignalNode

Source
pub trait SignalNode: 'static {
    type Value: ?Sized + 'static;

    // Required methods
    fn borrow<'a, 's: 'a>(
        self: Rc<Self>,
        inner: &'a Self,
        sc: &mut SignalContext<'s>,
    ) -> StateRef<'a, Self::Value>;
    fn fmt_debug(&self, f: &mut Formatter<'_>) -> Result
       where Self::Value: Debug;
}

Required Associated Types§

Source

type Value: ?Sized + 'static

Required Methods§

Source

fn borrow<'a, 's: 'a>( self: Rc<Self>, inner: &'a Self, sc: &mut SignalContext<'s>, ) -> StateRef<'a, Self::Value>

Source

fn fmt_debug(&self, f: &mut Formatter<'_>) -> Result
where Self::Value: Debug,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§