little-kitty 0.0.3

A low-level interface for the Kitty Graphics Protocol
Documentation
//
// PlaceholderScope
//

/// Kitty graphics protocol placeholder scope.
#[derive(Clone, Copy, Debug, Hash, Eq, PartialEq)]
pub enum PlaceholderScope {
    /// Cell.
    Cell {
        /// Column.
        column: usize,

        /// Row.
        row: usize,
    },

    /// Row.
    Row {
        /// Columns.
        columns: usize,

        /// Row.
        row: usize,
    },

    /// Block.
    Block {
        /// Columns.
        columns: usize,

        /// Rows.
        rows: usize,
    },
}

impl Default for PlaceholderScope {
    fn default() -> Self {
        Self::Cell { row: 0, column: 0 }
    }
}