pub enum LeafConfig {
Table(TableConfig),
List(ListConfig),
Code(CodeConfig),
MaxWords(f64),
}Expand description
The content checks a leaf carries: what the TS builders put on LeafSpec.config,
with cell and item schemas compiled.
Variants§
Table(TableConfig)
List(ListConfig)
Code(CodeConfig)
MaxWords(f64)
The most words a paragraph in the section may have, the TS maxWords(n).
Trait Implementations§
Source§impl Clone for LeafConfig
impl Clone for LeafConfig
Auto Trait Implementations§
impl Freeze for LeafConfig
impl RefUnwindSafe for LeafConfig
impl Send for LeafConfig
impl Sync for LeafConfig
impl Unpin for LeafConfig
impl UnsafeUnpin for LeafConfig
impl UnwindSafe for LeafConfig
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