src/Sirh3e.Rust/Option/Methods/Option.SetSome.cs

Summary

Maintainability
A
0 mins
Test Coverage
namespace Sirh3e.Rust.Option;

public partial struct Option<TSome>
{
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    private void SetSome(TSome some)
    {
        _some = some;
        IsSome = Helper.IsSome(_some);
    }
}