# Enable all functions to work on element of new type

**URL:** <https://discourse.julialang.org/t/enable-all-functions-to-work-on-element-of-new-type/103210>\
**Category:** General Usage\
**Tags:** data\_structures, dispatch, composition\
**Created:** [August 25, 2023, 10:19pm UTC](https://discourse.julialang.org/t/enable-all-functions-to-work-on-element-of-new-type/103210 "2023-08-25T22:19:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [August 25, 2023, 11:09pm UTC](https://discourse.julialang.org/t/enable-all-functions-to-work-on-element-of-new-type/103210/3 "2023-08-25T23:09:54Z")

</div>

See here

> [@General method for new structure](https://discourse.julialang.org/t/general-method-for-new-structure/51666/2):
>
> Probably what you are searching for is this list of methods to implement: [https://docs.julialang.org/en/v1/manual/interfaces/#man-interface-array](https://docs.julialang.org/en/v1/manual/interfaces/#man-interface-array)

And the other thread linked therein.

For the specific example maybe go the other way and store whatever else you need a metadata of the DataFrame?

---

_[View the full topic](https://discourse.julialang.org/t/enable-all-functions-to-work-on-element-of-new-type/103210)._
