pub struct Page { /* private fields */ }
Expand description
A page is a struct containing text to be printed by ChaosEngine. Pages are the building blocks for the programs made by the engine, they must be used to print text to the output.
§Examples
use chaos_engine::Page;
let mut page = Page::new();
page.push("hello, world!");
Implementations§
Trait Implementations§
impl Eq for Page
impl StructuralPartialEq for Page
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnwindSafe for Page
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more