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:
parent
3e8d90d300
commit
0a6062ba02
18 changed files with 169 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue