Skip to content

Commit

Permalink
wip: state that the conditions must be upheld
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Sep 12, 2024
1 parent 8c8aa7d commit 1eac8bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions masonry/src/widget/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ pub trait Widget: AsAny {
/// The child returned is a direct child, not e.g. a grand-child.
///
/// Has a default implementation that can be overridden to search children more efficiently.
/// Custom implementations must uphold the conditions outlined above.
///
/// **pos** - the position in global coordinates (e.g. `(0,0)` is the top-left corner of the
/// window).
Expand Down

0 comments on commit 1eac8bc

Please sign in to comment.