p
Size: a a a
p
p
∅ч
∅ч
∅ч
DS
DS
trait Something {
fn get_iter(&self) -> impl Iterator<Item=i32>
}
∅ч
trait Something {
fn get_iter(&self) -> impl Iterator<Item=i32>
}
DS
DS
DS
DS
∅ч
お
rustup doc --std
∅ч
∅ч
DS
Each instance of a pointer to a trait object includes:
1. a pointer to an instance of a type T that implements SomeTrait
2. a virtual method table, often just called a vtable, which contains, for each method of SomeTrait and its supertraits that T implements, a pointer to T's implementation (i.e. a function pointer).
DS
∅ч
Each instance of a pointer to a trait object includes:
1. a pointer to an instance of a type T that implements SomeTrait
2. a virtual method table, often just called a vtable, which contains, for each method of SomeTrait and its supertraits that T implements, a pointer to T's implementation (i.e. a function pointer).
∅ч