cushy::value

Trait IntoReadOnly

source
pub trait IntoReadOnly<T> {
    // Required method
    fn into_read_only(self) -> ReadOnly<T>;
}
Expand description

A type that can convert into a ReadOnly<T>.

Required Methods§

source

fn into_read_only(self) -> ReadOnly<T>

Returns self as a ReadOnly.

Implementations on Foreign Types§

source§

impl IntoReadOnly<String> for &str

Implementors§

source§

impl<T> IntoReadOnly<T> for ReadOnly<T>

source§

impl<T> IntoReadOnly<T> for Value<T>

source§

impl<T> IntoReadOnly<T> for Dynamic<T>

source§

impl<T> IntoReadOnly<T> for DynamicReader<T>

source§

impl<T> IntoReadOnly<T> for Owned<T>

source§

impl<T> IntoReadOnly<T> for T