# \#wrapping-methods

**URL:** https://discourse.julialang.org/tag/wrapping-methods/1170.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Wrapping methods used by multiple structs](https://discourse.julialang.org/t/wrapping-methods-used-by-multiple-structs/89311)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 0\
**Last updated:** [October 26, 2022, 5:04pm UTC](https://discourse.julialang.org/t/wrapping-methods-used-by-multiple-structs/89311 "2022-10-26T17:04:05Z")

</div>

For use running incremental statistics over windowed data, I have some structs that share struct-function-like methods. Here is an example that keeps track of the maximum value encountered as it runs over a windowed dat…
