Skip to main content

AsFaceRef

Trait AsFaceRef 

Source
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§

Source

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".

Implementors§