pub trait AsFaceRef {
// Required method
fn as_face_ref(&self) -> &Face<'_>;
}Expand description
Used to perform a cheap conversion to a Face reference.
Required Methods§
Sourcefn as_face_ref(&self) -> &Face<'_>
fn as_face_ref(&self) -> &Face<'_>
Convert to a Face reference.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".