pub trait AsTypeInner<U, D>{
// Required method
fn astype_inner(&self) -> Result<Array<U, D>, FerrayError>;
}Expand description
Internal trait that performs the actual casting. Implemented for specific
(T, U) pairs where T: PromoteTo<U> or where unsafe casting is valid.
Required Methods§
Sourcefn astype_inner(&self) -> Result<Array<U, D>, FerrayError>
fn astype_inner(&self) -> Result<Array<U, D>, FerrayError>
Perform the cast.