tinymist_std

Trait ArcInto

Source
pub trait ArcInto<T> {
    // Required method
    fn arc_into(self: Arc<Self>) -> T;
}
Expand description

A trait for converting Arc<T> into Self.

Required Methods§

Source

fn arc_into(self: Arc<Self>) -> T

Converts Arc<T> into Self.

Implementors§

Source§

impl<S, T> ArcInto<T> for S
where Arc<S>: Into<T>,