# How do you inherit Interface?

**URL:** https://discourse.julialang.org/t/how-do-you-inherit-interface/10097
**Category:** General Usage
**Tags:** question
**Created:** [April 1, 2018, 7:15am UTC](https://discourse.julialang.org/t/how-do-you-inherit-interface/10097 "2018-04-01T07:15:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [April 1, 2018, 7:42am UTC](https://discourse.julialang.org/t/how-do-you-inherit-interface/10097/2 "2018-04-01T07:42:50Z")

</div>

There is no generic built-in mechanism for this. For the special (and quite common) case when you want the container to “inherit” functionality from an element, some packages have macros that implement this, eg [`Lazy.@forward`](https://github.com/MikeInnes/Lazy.jl/blob/76dab7d30863e8375fc96b2444fdb2ead369bf4c/src/macros.jl#L248-L271).

---

_[View the full topic](https://discourse.julialang.org/t/how-do-you-inherit-interface/10097)._
