Trait lignin::auto_safety::Deanonymize[][src]

pub trait Deanonymize<SafeVariant> where
    Self: Vdom + Send + Sync,
    SafeVariant: Vdom<ThreadSafety = ThreadSafe>, 
{ #[must_use] fn deanonymize(self) -> SafeVariant { ... } }
Expand description

Deanonymize towards the special (ThreadSafe) case. This trait must be in scope for correct inference!

See module documentation for usage.

Provided methods

#[must_use]
fn deanonymize(self) -> SafeVariant
[src]

Deanonymize towards a compatible concrete type.

This method is by value, so it will resolve with higher priority than the by-reference method on AutoSafe.
Note that not all tooling will show the correct overload here, but the compiler knows which to pick.

Implementors

impl<'a, V> Deanonymize<Node<'a, ThreadSafe>> for V where
    V: Send + Sync + AutoSafe<Node<'a, ThreadBound>>, 
[src]

impl<'a, V> Deanonymize<Element<'a, ThreadSafe>> for V where
    V: Send + Sync + AutoSafe<Element<'a, ThreadBound>>, 
[src]

impl<'a, V> Deanonymize<EventBinding<'a, ThreadSafe>> for V where
    V: Send + Sync + AutoSafe<EventBinding<'a, ThreadBound>>, 
[src]

impl<'a, V> Deanonymize<ReorderableFragment<'a, ThreadSafe>> for V where
    V: Send + Sync + AutoSafe<ReorderableFragment<'a, ThreadBound>>, 
[src]

impl<C, O> Deanonymize<CallbackRef<ThreadSafe, C>> for O where
    C: CallbackSignature,
    O: Send + Sync + AutoSafe<CallbackRef<ThreadBound, C>>, 
[src]