Skip to main content

sub

Function sub 

Source
pub async fn sub<CM, CMFut, RM, RMFut, F, FFut>(
    stack: &mut Vec<Value>,
    call_method: CM,
    right_method: RM,
    fallback: F,
) -> Result<(), RuntimeError>
where CM: FnMut(Value, &'static str, Value) -> CMFut, CMFut: Future<Output = Result<Value, RuntimeError>>, RM: FnMut(Value, Value) -> RMFut, RMFut: Future<Output = Result<Value, RuntimeError>>, F: FnMut(Value, Value) -> FFut, FFut: Future<Output = Result<Value, RuntimeError>>,