Class Unit
Represents the unit Rust type. aka (). It is used when there is no other
meaningful value that could be returned.
Inheritance
System.Object
Unit
Assembly: Casper.Network.SDK.dll
Syntax
public class Unit : object
Constructors
Unit()
Declaration
Fields
Default
Declaration
public static readonly Unit Default
Field Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|