// Copyright (c) Facebook, Inc. and its affiliates
// SPDX-License-Identifier: MIT OR Apache-2.0
using System;
namespace Serde
{
///
/// Analogous to Rust's Unit type `()`.
///
public readonly struct Unit : IEquatable
{
public override bool Equals(object obj) => obj is Unit unit;
public bool Equals(Unit other) => true;
public static bool operator==(Unit l, Unit r) => true;
public static bool operator!=(Unit l, Unit r) => false;
public override int GetHashCode() => 793253941;
}
}