pub trait AsSoaRef {
type Item: Soapy;
// Required method
fn as_soa_ref(&self) -> <Self::Item as Soapy>::Ref<'_>;
}Expand description
Similar to AsRef, but for Soapy::Ref.
This is primarily used to provide convenient implementations of standard
traits for Slice.
Required Associated Types§
Required Methods§
Sourcefn as_soa_ref(&self) -> <Self::Item as Soapy>::Ref<'_>
fn as_soa_ref(&self) -> <Self::Item as Soapy>::Ref<'_>
Converts this type to an SoA reference of the associated type.