diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:08:16 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:11:37 +0100 |
| commit | f5f7df7247ae29800e0290774a50942e2485beea (patch) | |
| tree | 57253ba51efdae3ac8e4eea722428924625b514c /library/src/layout/spacing.rs | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'library/src/layout/spacing.rs')
| -rw-r--r-- | library/src/layout/spacing.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/library/src/layout/spacing.rs b/library/src/layout/spacing.rs index 092d2c0a..f306d47c 100644 --- a/library/src/layout/spacing.rs +++ b/library/src/layout/spacing.rs @@ -2,9 +2,10 @@ use std::cmp::Ordering; use crate::prelude::*; +/// # Spacing (H) /// Horizontal spacing in a paragraph. /// -/// # Parameters +/// ## Parameters /// - amount: Spacing (positional, required) /// How much spacing to insert. /// @@ -13,8 +14,8 @@ use crate::prelude::*; /// Moreover, from multiple adjacent weak spacings all but the largest one /// collapse. /// -/// # Tags -/// - layout +/// ## Category +/// layout #[func] #[capable(Behave)] #[derive(Debug, Copy, Clone, Hash)] @@ -63,9 +64,10 @@ impl Behave for HNode { } } +/// # Spacing (V) /// Vertical spacing. /// -/// # Parameters +/// ## Parameters /// - amount: Spacing (positional, required) /// How much spacing to insert. /// @@ -74,8 +76,8 @@ impl Behave for HNode { /// Moreover, from multiple adjacent weak spacings all but the largest one /// collapse. /// -/// # Tags -/// - layout +/// ## Category +/// layout #[func] #[capable(Behave)] #[derive(Debug, Copy, Clone, Hash, PartialEq, PartialOrd)] |
