Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

표준 라이브러리 타입

표준 라이브러리는 기본 자료형을 대폭 확장한 많은 사용자 정의 타입을 제공합니다. 이들 중 일부는 다음과 같습니다:

  • 가변 크기 String: 예: "hello world"
  • 가변 크기 벡터: [1, 2, 3]
  • 선택적 타입: Option<i32>
  • 에러 핸들링 타입: Result<i32, i32>
  • 힙 할당 포인터: Box<i32>

참고:

기본 자료형표준 라이브러리