/// Default impl for `initialize_disp_fn`, which cannot be inlined because it needs `Self: Sized`.
///
/// **This method exists solely for the convenience of implementors of the trait.**
/// It should not be overridden, and the only place it should ever be used is in the definition
/// of `initialize_disp_fn` in a trait impl.
Default impl for `initialize_disp_fn`, which cannot be inlined because it needs `Self: Sized`.
This method exists solely for the convenience of implementors of the trait.
It should not be overridden, and the only place it should ever be used is in the definition
of `initialize_disp_fn` in a trait impl.
Default impl for ` initialize_disp_fn ` which cannot be inlined because it needs ` Self : Sized ` . This method exists solely for the convenience of implementors of the trait . It should not be overridden and the only place it should ever be used is in the definition of ` initialize_disp_fn ` in a trait impl .
fn _default_initialize_disp_fn(&self, coords: &Coords, meta: Meta) -> FailResult<Box<dyn DispFn>>
    where
        Meta: Clone + 'static,
        Self: Sized,
    {
        let diff_fn = self.initialize_diff_fn(coords, meta.clone())?;
        let disp_fn = helper::DefaultDispFn::initialize(coords, meta, diff_fn)?;
        Ok(Box::new(disp_fn) as Box<_>)
    }
fn _default_initialize_disp_fn ( & self , coords : & Coords , meta : Meta ) -> FailResult < Box < dyn DispFn > > where Meta : Clone + ' static , Self : Sized , { let diff_fn = self . initialize_diff_fn ( coords , meta . clone ( ) ) ? ; let disp_fn = helper :: DefaultDispFn :: initialize ( coords , meta , diff_fn ) ? ; Ok ( Box :: new ( disp_fn ) as Box < _ > ) }
Default impl for `initialize_disp_fn`, which cannot be inlined because it needs `Self: Sized`.
Default impl for ` initialize_disp_fn ` which cannot be inlined because it needs ` Self : Sized ` .
&self
coords
&Coords
meta
Meta