pub trait IntoConst {
type Target;
// Required method
fn into_const(self) -> Self::Target;
}Expand description
Consume a mutable reference to produce an immutable one.
pub trait IntoConst {
type Target;
// Required method
fn into_const(self) -> Self::Target;
}Consume a mutable reference to produce an immutable one.