So if you have a function pointer like
fn(&mut T), the argument is a reference, aka. a pointer that could be also represented as
fn(*const u8) and have the same ABI, correct? This allows me to represent the function ABI without knowing
T's concrete type.
But if I have a function like
fn() -> T what is the type of T in it's most "raw" form. Is there an equivalent function pointer similar to the example above that doesn't need to know the type of
T? For instance I can't do
fn() -> *const u8 because
T isn't a pointer, it's an owned type.