Trait cushy::value::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§
sourcefn into_read_only(self) -> ReadOnly<T>
fn into_read_only(self) -> ReadOnly<T>
Returns self
as a ReadOnly
.