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 title;
20
21pub use axes::{Axes, AxesBuilder, Bars, Interval, NumberLine, Plot, Series};
22pub use callout::{Callout, CalloutBuilder};
23pub use code::{CodeExplainer, CodeExplainerBuilder};
24pub use flow::{FlowDiagram, FlowDiagramBuilder};
25pub use lower::{ChapterMarker, ChapterMarkerBuilder, LowerThird, LowerThirdBuilder};
26pub use title::{
27    BulletList, BulletListBuilder, EndCard, EndCardBuilder, TitleCard, TitleCardBuilder,
28};