Trait lignin::Vdom[][src]

pub trait Vdom: Sealed where
    Self: Sized + Debug + Clone + Copy + PartialEq + Eq + PartialOrd + Ord + Hash
{ type ThreadSafety: ThreadSafety; }

Marker trait for VDOM data types, which (almost) all vary by ThreadSafety.

Somewhat uselessly implemented on Attribute, ElementCreationOptions and EventBindingOptions, which are always ThreadSafe.

Associated Types

type ThreadSafety: ThreadSafety[src]

The ThreadSafety of the Vdom type, either ThreadSafe or ThreadBound.

This comes from a generic type argument S, but Attribute and EventBindingOptions are always ThreadSafe.

Loading content...

Implementors

impl Vdom for EventBindingOptions[src]

impl<'a> Vdom for Attribute<'a>[src]

impl<'a> Vdom for ElementCreationOptions<'a>[src]

impl<'a, S> Vdom for Node<'a, S> where
    S: ThreadSafety
[src]

type ThreadSafety = S

impl<'a, S> Vdom for Element<'a, S> where
    S: ThreadSafety
[src]

type ThreadSafety = S

impl<'a, S> Vdom for EventBinding<'a, S> where
    S: ThreadSafety
[src]

type ThreadSafety = S

impl<'a, S> Vdom for ReorderableFragment<'a, S> where
    S: ThreadSafety
[src]

type ThreadSafety = S

impl<S, C> Vdom for CallbackRef<S, C> where
    S: ThreadSafety,
    C: CallbackSignature
[src]

type ThreadSafety = S

Loading content...