-
러스트 _고아 법칙룰Orphan Rule코딩Coding/★Rust★기초★Syntax 2023. 6. 6. 17:53728x90
The short definition of the Orphan Rule is as follows:
You cannot provide implementations of a trait for a struct unless you are either the crate that defines the struct, or the crate that defines the trait.
https://soasis.org/posts/a-mirror-for-rust-a-plan-for-generic-compile-time-introspection-in-rust/
반응형'코딩Coding > ★Rust★기초★Syntax' 카테고리의 다른 글