# Rust에서 할수 없는 것들과 대체 방법

> Clean Markdown view of GeekNews topic #4271. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=4271](https://news.hada.io/topic?id=4271)
- GeekNews Markdown: [https://news.hada.io/topic/4271.md](https://news.hada.io/topic/4271.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-05-17T09:39:22+09:00
- Updated: 2021-05-17T09:39:22+09:00
- Original source: [blog.logrocket.com](https://blog.logrocket.com/what-you-cant-do-in-rust-and-what-to-do-instead/)
- Points: 14
- Comments: 3

## Topic Body

- 상속 : Traits, ambassador crate, deref, spez crate

- 더블 링크드 리스트와 포인터 기반 자료구조 : 직접 구현하지 말고 표준 라이브러리의 LinkedList 이용, 그래프는 petgraph crate

- Self-referencing 타입들 : ouroboros / self_cell / one_self_cell 등의 crate

- Global mutable state : unsafe, Mutex, OnceSell, lazy_static

- Array 초기화 : let (두번 초기화), unsafe

## Comments



### Comment 5198

- Author: sftblw
- Created: 2021-05-17T09:44:09+09:00
- Points: 2

Learn Rust With Entirely Too Many Linked Lists 라는 책(문서)도 있습니다.

https://rust-unofficial.github.io/too-many-lists/

### Comment 5199

- Author: sftblw
- Created: 2021-05-17T09:45:40+09:00
- Points: 1
- Parent comment: 5198
- Depth: 1

아... 본문에 이 책에 대한 언급이 있네요. 댓글을 섣불리 달았습니다. 혹시 이 웹사이트에서는 댓글을 삭제하는 기능은 없는건가요?

### Comment 5200

- Author: xguru
- Created: 2021-05-17T09:59:57+09:00
- Points: 2
- Parent comment: 5199
- Depth: 2

댓글 삭제는 아이디 옆에 시간을 누르시면 그 안에서 delete/favorite/(downvote/flag) 등이 가능합니다.

근데 놔두셔도 될 거 같아요! ㅎㅎ
