# \`OrderBy\` struct in \`std::cmp\`?

**URL:** <https://internals.rust-lang.org/t/orderby-struct-in-std-cmp/15296>\
**Category:** libs\
**Created:** [September 7, 2021, 10:30pm UTC](https://internals.rust-lang.org/t/orderby-struct-in-std-cmp/15296 "2021-09-07T22:30:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![steffahn](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/steffahn/32/13288_2.png) [@steffahn](https://internals.rust-lang.org/u/steffahn)\
**Post date:** [September 8, 2021, 1:33am UTC](https://internals.rust-lang.org/t/orderby-struct-in-std-cmp/15296/5 "2021-09-08T01:33:01Z")

</div>

> [@CAD97](#):
>
> Are stateless closure/function types `Default` ?

I think the answer is, “no, but it [has been discussed before](https://internals.rust-lang.org/t/suggestion-implement-default-for-function-items/14875)”.

---

_[View the full topic](https://internals.rust-lang.org/t/orderby-struct-in-std-cmp/15296)._
