pub trait AsPropRef {
// Required method
fn as_prop_ref(&self) -> PropRef<'_>;
}Expand description
A trait for types that can be cheaply viewed as a PropRef.
Required Methods§
fn as_prop_ref(&self) -> PropRef<'_>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".