Avatar
0
monkey Enlightened
monkey Enlightened
Rust: self.0 nghĩa là gì?
Rust: self.0 hay self.[index] nói chung là cách để truy cập phần tử thứ index trong các struct mà không có fields.
struct MinMax(i64, i64);let minmax = MinMax(0, 14);self.0 = 0self.1 = 4
  • Answer
rust
Remain: 5
1 Answer
Avatar
monkey Enlightened
monkey Enlightened
Sharing
  • 0
  • Reply