fn to(self: Const, comptime T: type) ConvertError!T
[src]
Convert self to type T.
Returns an error if self cannot be narrowed into the requested type without truncation.
fn to(self: Const, comptime T: type) ConvertError!T
Convert self to type T.
Returns an error if self cannot be narrowed into the requested type without truncation.