Skip to main content

trivial_cost

Function trivial_cost 

Source
pub fn trivial_cost() -> ImplProfile
Expand description

A cost profile for something that does no real work.

Rearranging fields is constant in both, which is what a derived bridge does.