diff options
Diffstat (limited to 'native/src/layout')
| -rw-r--r-- | native/src/layout/node.rs | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/native/src/layout/node.rs b/native/src/layout/node.rs index ed1cd3da..fae6e330 100644 --- a/native/src/layout/node.rs +++ b/native/src/layout/node.rs @@ -54,7 +54,11 @@ impl Node {          &self.children      } -    pub(crate) fn align( +    /// Aligns item according to [`Align`] and [`Size`]. +    ///  +    /// [`Align`]: ../enum.Align.html +    /// [`Size`]: ../struct.Size.html +    pub fn align(          &mut self,          horizontal_alignment: Align,          vertical_alignment: Align, | 
