diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-07 15:17:13 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-07 15:17:13 +0100 |
| commit | 25b5bd117529cd04bb789e1988eb3a3db8025a0e (patch) | |
| tree | 2fbb4650903123da047a1f1f11a0abda95286e12 /library/src/math/align.rs | |
| parent | 6ab7760822ccd24b4ef126d4737d41f1be15fe19 (diff) | |
Fully untyped model
Diffstat (limited to 'library/src/math/align.rs')
| -rw-r--r-- | library/src/math/align.rs | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/library/src/math/align.rs b/library/src/math/align.rs index a9005dfd..6cf13a0f 100644 --- a/library/src/math/align.rs +++ b/library/src/math/align.rs @@ -1,21 +1,11 @@ use super::*; -/// # Alignment Point /// A math alignment point: `&`, `&&`. /// -/// ## Parameters -/// - index: `usize` (positional, required) -/// The alignment point's index. -/// -/// ## Category -/// math -#[func] -#[capable(LayoutMath)] -#[derive(Debug, Hash)] -pub struct AlignPointNode; - -#[node] -impl AlignPointNode {} +/// Display: Alignment Point +/// Category: math +#[node(LayoutMath)] +pub struct AlignPointNode {} impl LayoutMath for AlignPointNode { fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()> { |
