Struct MovableBy<T>
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: LibSugar
Assembly: LibSugar.dll
Syntax
public struct MovableBy<T> : IMovable<MovableBy<T>>, IDisposable
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceMovableBy(T, MovableBy<T>.Drop)
Declaration
public MovableBy(T value, MovableBy<T>.Drop drop)
Parameters
Type | Name | Description |
---|---|---|
T | value | |
MovableBy.Drop<> | drop |
Fields
| Improve this Doc View SourceValue
Declaration
public T Value
Field Value
Type | Description |
---|---|
T |
Properties
| Improve this Doc View SourceIsMoved
Declaration
public readonly bool IsMoved { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Move()
Declaration
public MovableBy<T> Move()
Returns
Type | Description |
---|---|
MovableBy<T> |
Operators
| Improve this Doc View SourceImplicit(MovableBy<T> to T)
Declaration
public static implicit operator T(MovableBy<T> self)
Parameters
Type | Name | Description |
---|---|---|
MovableBy<T> | self |
Returns
Type | Description |
---|---|
T |
Implements
System.IDisposable
Extension Methods
Sugar.Borrow<T>(T)
Sugar.Owner<T>(T)