| Crates.io | extendx |
| lib.rs | extendx |
| version | 0.0.1 |
| created_at | 2025-12-03 19:49:41.376065+00 |
| updated_at | 2025-12-03 19:49:41.376065+00 |
| description | type and implementation extentions |
| homepage | https://www.github.com/aacebo/zinq |
| repository | https://www.github.com/aacebo/zinq |
| max_upload_size | |
| id | 1965168 |
| size | 7,914 |
type and implementation extentions
pub struct A {
a: usize,
}
#[derive(Extend)]
pub struct B {
#[extend]
a: A,
b: bool,
}
pub struct A {
a: usize,
}
#[derive(Extend)]
pub struct B {
#[extend]
a: A,
b: bool,
}
impl B {
pub fn a(&self) -> &usize {
return &self.a.a;
}
}