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§
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
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.