use crate::traits::*;
impl<'a, T: Scalar> ClassifyRef for &'a [T] {
type ClassifiedRef = &'a [T];
#[inline(always)]
fn classify_ref(self) -> &'a [T] {
self
}
}
impl<'a, T: Scalar> DeclassifyRef for &'a [T] {
type DeclassifiedRef = &'a [T];
#[inline(always)]
fn declassify_ref(self) -> &'a [T] {
self
}
}
#[hax_lib::exclude]
impl<'a, T> ClassifyRefMut for &'a mut T {
type ClassifiedRefMut = &'a mut T;
#[inline(always)]
fn classify_ref_mut(self) -> &'a mut T {
self
}
}
#[hax_lib::exclude]
impl<'a, T> DeclassifyRefMut for &'a mut T {
type DeclassifiedRefMut = &'a mut T;
#[inline(always)]
fn declassify_ref_mut(self) -> &'a mut T {
self
}
}