P
trait Destructable {
/// default implementation
fn destruct(&mut self) {
/* ... */
}
}
impl Destructable for X {
fn destruct(&mut self) {/* ... */}
}
Size: a a a
P
trait Destructable {
/// default implementation
fn destruct(&mut self) {
/* ... */
}
}
impl Destructable for X {
fn destruct(&mut self) {/* ... */}
}
J
P
P
P
P
J
P
P
J
P
P
P
P
P
P
P
P
J
P