plottery_lib 0.7.0

Core geometry library of Plottery, a creative coding framework for generative vector graphics and pen plotting.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(test)]
mod test_layer_props {
    use crate::Inheritable;

    #[test]
    fn overwrite_with() {
        let i = Inheritable::Specified(5);
        let i2 = Inheritable::Inherit;

        assert_eq!(i.overwrite_with(&i2).unwrap(), 5);
    }
}