-
Rust💕함수와 메소드를 이용한 암묵적 역참조 강제_역참조 강제(deref coercion)코딩Coding/★Rust★기초★Syntax 2023. 1. 3. 12:00728x90
https://rinthel.github.io/rust-lang-book-ko/ch15-02-deref.html
Deref 트레잇은 참조자를 통하여 데이터로의 접근을 허용합니다 - The Rust Programming Language
Deref 트레잇을 구현하는 것은 우리가 (곱하기 혹은 글롭 연산자와는 반대 측에 있는) 역참조 연산자 (dereference operator) * 의 동작을 커스터마이징 하는 것을 허용합니다. 스마트 포인터가 평범한
rinthel.github.io
함수와 메소드를 이용한 암묵적 역참조 강제
역참조 강제(deref coercion)
반응형'코딩Coding > ★Rust★기초★Syntax' 카테고리의 다른 글
Rust❤️Arrays & Slice & String , str, &String (0) 2023.01.18 Building an Authentication Service using Actix | Part 1 | Setting up the application (0) 2023.01.15 완벽한 언어 RUST (0) 2023.01.11 Rust vs 7 Other Languages You Probably Haven't Tried (0) 2023.01.10 Rust in 2024 - Niko Matsakis (0) 2022.12.30 Rust just got a lot easier... (0) 2022.12.30 Rust는 두개의 서브 데이터 타입이 있다. scalar와 compound이다. (0) 2022.12.26 Rust Is Easy (The COMPILER teaches you!) [RUST-14] (0) 2022.12.22