Interface IMovable<T>
Movable ownership
Namespace: LibSugar
Assembly: LibSugar.dll
Syntax
public interface IMovable<out T>
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
| Improve this Doc View SourceIsMoved
Has been moved
Declaration
bool IsMoved { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
| Improve this Doc View SourceMove()
Move, take ownership, original value will skip destruction
Declaration
T Move()
Returns
| Type | Description |
|---|---|
| T |
Extension Methods
Sugar.Borrow<T>(T)
Sugar.Owner<T>(T)