calcu_
rs
0.1.0
CostFn
Required Methods
cost
Object Safety
Implementors
In calcu_
rs::
algos
Trait
calcu_rs
::
algos
::
CostFn
Copy item path
source
·
[
−
]
pub trait CostFn { // Required method fn
cost
(e: &
Expr
) ->
usize
; }
Required Methods
§
source
fn
cost
(e: &
Expr
) ->
usize
Object Safety
§
This trait is
not
object safe
.
Implementors
§
source
§
impl
CostFn
for
ExprCost