dochy_diff 0.10.1

Calculates Dochy Diff.
1
2
3
4
5
6
7
8
9
10
11
12
13
use dochy_core::structs::{ParamType, RustParam, Qv};

pub(crate) fn get_null(pt : ParamType) -> RustParam{
    match pt {
        ParamType::Bool => { RustParam::Bool(Qv::Null) }
        ParamType::Int => { RustParam::Int(Qv::Null) }
        ParamType::Float => { RustParam::Float(Qv::Null) }
        ParamType::String => { RustParam::String(Qv::Null) }
        ParamType::IntArray => { RustParam::IntArray(Qv::Null) }
        ParamType::FloatArray => { RustParam::FloatArray(Qv::Null) }
        ParamType::Binary => { RustParam::Binary(Qv::Null)}
    }
}