Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

src/child.rs

#![allow(unused)]
fn main() {
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum ChildKind {
    Element,
    Text,
}
}
#![allow(unused)]
fn main() {
#[derive(Debug, Clone)]
pub struct Child {
    pub relative_position: (f64, f64),
    pub absolute_position: (f64, f64),
    pub width: f64,
    pub height: f64,
    pub kind: ChildKind,
}
}