Trait lignin::auto_safety::AutoSafe[][src]

pub trait AutoSafe<BoundVariant> where
    Self: Vdom + Align<BoundVariant>,
    BoundVariant: Vdom<ThreadSafety = ThreadBound>, 
{ #[must_use] fn deanonymize(&self) -> BoundVariant { ... } }
Expand description

Deanonymize towards the general (ThreadBound) case. Used as -> impl AutoSafe<…>.

See module documentation for usage.

Provided methods

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

Deanonymize towards a compatible concrete type.

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

Implementors

impl<'a, S, T> AutoSafe<T> for S where
    S: Vdom + Align<T>,
    T: Vdom<ThreadSafety = ThreadBound>, 
[src]