Convert from component to component using std.conv.to family of functions.
original component to be converted
resulting component
ignored allocator as .to family of functions are not using allocators
See std.conv.to for throwed exceptions
See Implementation
Convert from component to component using std.conv.to family of functions.