liboxen 0.9.4-beta3

Oxen is a fast, unstructured data version control, to help version datasets, written in Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct DataFrameSize {
    pub height: usize,
    pub width: usize,
}

impl DataFrameSize {
    pub fn is_empty(&self) -> bool {
        self.height == 0 && self.width == 0
    }
}