dungen_minion_geometry 0.3.2

Geometry support for dungen_minion.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// External includes.

// Standard includes.

// Internal includes.
use super::Length;

/// The trait for objects which have a width.
pub trait HasWidth {
    /// The width of the object.
    fn width(&self) -> Length;

    /// A mutable reference to the width of the object.
    fn width_mut(&mut self) -> &mut Length;
}