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/pad.rs | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'library/src/layout/pad.rs')
| -rw-r--r-- | library/src/layout/pad.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/library/src/layout/pad.rs b/library/src/layout/pad.rs index 1326ae22..7825d133 100644 --- a/library/src/layout/pad.rs +++ b/library/src/layout/pad.rs @@ -1,8 +1,9 @@ use crate::prelude::*; +/// # Padding /// Pad content at the sides. /// -/// # Parameters +/// ## Parameters /// - body: Content (positional, required) /// The content to pad at the sides. /// @@ -27,8 +28,8 @@ use crate::prelude::*; /// - rest: Rel<Length> (named) /// The padding for all sides. All other parameters take precedence over this. /// -/// # Tags -/// - layout +/// ## Category +/// layout #[func] #[capable(Layout)] #[derive(Debug, Hash)] |
