Trait AsGeneralizedRef
pub trait AsGeneralizedRef<'short, Target, _Outlives = &'short Self> {
// Required method
fn as_generalized_ref(&'short self) -> Target;
}
Expand description
This trait is similar to [std::convert::AsRef
], but works with generalized reference
types, instead of being limited to native Rust references.