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 height.
pub trait HasHeight {
    /// The height of the object.
    fn height(&self) -> Length;

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