xwt_anchor/impls/core/
from.rs1use crate::types::*;
4
5macro_rules! implement {
7 (
8 $($t:ty,)*
9 ) => {
10 $(
11 impl<T> From<T> for $t {
12 fn from(value: T) -> Self {
13 Self(value)
14 }
15 }
16 )*
17 };
18}
19
20crate::for_all_material_types!(implement);