1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-30 05:15:59 +02:00

added IParseable interface and applied it to all applicable types

This commit is contained in:
Booklordofthedings 2023-12-13 16:54:23 +01:00
parent 3e8d90d300
commit 0a6062ba02
18 changed files with 169 additions and 18 deletions

View file

@ -1,6 +1,6 @@
namespace System
{
struct Guid : IHashable
struct Guid : IHashable, IParseable<Guid>
{
public static readonly Guid Empty = Guid();
@ -58,7 +58,7 @@ namespace System
(val1.mK == val2.mK);
}
public static Result<Guid> Parse(String str)
public static Result<Guid> Parse(StringView val)
{
return .Err;
}