MCPcopy Create free account
hub / github.com/PerroEngine/Perro / resize_default

Method resize_default

perro_source/core/perro_structs/src/structs/matrix/mod.rs:843–850  ·  view source on GitHub ↗
(
        self,
    )

Source from the content-addressed store, hash-verified

841
842 #[inline]
843 pub fn resize_default<const NEW_ROWS: usize, const NEW_COLS: usize>(
844 self,
845 ) -> Matrix<NEW_ROWS, NEW_COLS, T>
846 where
847 T: Copy + Default,
848 {
849 self.resize_with(|_, _| T::default())
850 }
851
852 #[inline]
853 pub fn resize_with<const NEW_ROWS: usize, const NEW_COLS: usize>(

Callers

nothing calls this directly

Calls 1

resize_withMethod · 0.80

Tested by

no test coverage detected