Remove *extremely* out of date documentation on `BoxBounds`.

This commit is contained in:
David Wendt 2020-06-24 22:36:36 -04:00
parent 2723c3f6d9
commit 453cf6c0f1
1 changed files with 1 additions and 11 deletions

View File

@ -132,17 +132,7 @@ impl<T> From<Position<T>> for Size<T> {
} }
} }
/// A type which represents the offset and size of text-orientation-relative /// A type which represents the offset and size of a text box.
/// boxes.
///
/// For the purposes of internationalization, the two axes are called "primary"
/// and "secondary", and the directions are "leading" for the direction of text
/// flow and "trailing" for the opposite direction. The meaning of these axis
/// and directions are determined by the `WritingMode` of a given `LayoutBox`.
///
/// To obtain concretely-oriented dimensions, use `into_screen_space` to
/// transform the coordinates into a pair of top, left, right, and bottom
/// coordinates.
#[derive(Copy, Clone, Debug, PartialEq, Eq, Collect)] #[derive(Copy, Clone, Debug, PartialEq, Eq, Collect)]
#[collect(require_static)] #[collect(require_static)]
pub struct BoxBounds<T> { pub struct BoxBounds<T> {