Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- 다트
- 클래스
- Android
- function
- ML
- kotlin
- variable
- Collection
- DART
- rust
- 플러터
- 크롤러
- import
- textstyle
- package
- text
- 파이썬
- animation
- map
- python
- Flutter
- set
- List
- 코틀린
- 콜렉션
- 함수
- crawler
- Class
- 웹크롤러
- pushnamed
Archives
- Today
- Total
목록Reference (1)
조용한 담장
Rust Understanding Ownership - Quick Reference
이 글은 Rust 공식 문서 4장(Understanding Ownership)의 내용을 기반으로 빠르게 훑어볼 수 있도록 정리한 요약본입니다.4. Understanding OwnershipRust가 가비지 컬렉터 없이 메모리 안전성을 보장하는 핵심 메커니즘입니다."누가 메모리를 해제할 책임이 있는가?"를 결정하는 규칙들의 집합입니다.4.1. What Is Ownership?https://doc.rust-lang.org/book/ch04-01-what-is-ownership.htmlThe 3 RulesRust의 각각의 값은 해당 값의 Owner(소유자)라고 불리는 변수가 있다.한 번에 딱 하나의 Owner만 존재할 수 있다.Owner가 스코프 밖으로 벗어나면, 값은 버려진다(Dropped).메모리 동작: ..
Rust
2025. 12. 29. 22:37