Skip to main content

oxframe_components/
lib.rs

1//! Blocks for explainer videos. Each one is added like any other node,
2//! takes its look from the project theme, and speaks three words:
3//! [`enter`](TitleCard::enter), [`next`](TitleCard::next) and [`exit`](TitleCard::exit).
4//!
5//! ```ignore
6//! let steps = view.add(BulletList::new(["Take the middle", "Compare", "Drop half"]));
7//! steps.enter().await;
8//! for _ in 0..3 { steps.next().await; }
9//! ```
10
11#![warn(missing_docs)]
12
13mod axes;
14mod callout;
15mod code;
16mod flow;
17mod host;
18mod lower;
19mod matrix;
20mod table;
21mod title;
22
23pub use axes::{Axes, AxesBuilder, Bars, Interval, Mat2, NumberLine, Plot, Series, Vector};
24pub use callout::{Callout, CalloutBuilder};
25pub use code::{CodeExplainer, CodeExplainerBuilder};
26pub use flow::{FlowDiagram, FlowDiagramBuilder};
27pub use lower::{ChapterMarker, ChapterMarkerBuilder, LowerThird, LowerThirdBuilder};
28pub use matrix::{Matrix, MatrixBuilder};
29pub use table::{Table, TableBuilder, TableRow};
30pub use title::{
31    BulletList, BulletListBuilder, EndCard, EndCardBuilder, TitleCard, TitleCardBuilder,
32};