dungen_minion_geometry 0.3.2

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

// Standard includes.

// Internal includes.
use super::{HasHeight, HasSize, HasWidth, ProvidesSize, Shape};

/// Designates that the type is definable as a size.
///
/// The type has a given height and width, in [`Length`](type.Length.html) units. The width and height of the size can each be an integer zero, or positive value. No further restrictions are added; for example, something can both be `IsSize` and have a position.
pub trait IsSize: HasHeight + HasSize + HasWidth + ProvidesSize + Shape {}