BKGLIMJK7PSYX523YFN2W6KRLTJLJNWPGLQBN3COWWNIB6CWADOAC
impl From<&Acc> for Arc<Acc> {
fn from(value: &Acc) -> Self {
let raw = Arc::<str>::from(&value.name);
unsafe { Self::from_raw(Arc::into_raw(raw) as _) }
}
}
impl From<Account> for Arc<Acc> {
fn from(value: Account) -> Self {
let raw = Arc::<str>::from(value.name);
unsafe { Self::from_raw(Arc::into_raw(raw) as _) }
}
}
impl From<&Acc> for Box<Acc> {
fn from(value: &Acc) -> Self {
let raw = Box::<str>::from(&value.name);
unsafe { Self::from_raw(Box::into_raw(raw) as _) }
}
}
impl From<Account> for Box<Acc> {
fn from(value: Account) -> Self {
let raw = value.name.into_boxed_str();
unsafe { Self::from_raw(Box::into_raw(raw) as _) }
}
}
impl From<&Acc> for Rc<Acc> {
fn from(value: &Acc) -> Self {
let raw = Rc::<str>::from(&value.name);
unsafe { Self::from_raw(Rc::into_raw(raw) as _) }
}
}
impl From<Account> for Rc<Acc> {
fn from(value: Account) -> Self {
let raw = Rc::<str>::from(value.name);
unsafe { Self::from_raw(Rc::into_raw(raw) as _) }
}
}