Skip to main content

ClassifyRef

Trait ClassifyRef 

Source
pub trait ClassifyRef {
    type ClassifiedRef;

    // Required method
    fn classify_ref(self) -> Self::ClassifiedRef;
}
Expand description

A trait for classifying immutable references to public types

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, T: Scalar> ClassifyRef for &'a [T]

Source§

impl<'a, T> ClassifyRef for &'a T

Implementors§