NotNull.opAssign

Assignment from NotNull inherited class rhs to NotNull base class this.

  1. typeof(this) opAssign(NotNull!U rhs)
    struct NotNull(T)
    @safe pure nothrow @nogc
    typeof(this)
    opAssign
    (
    U
    )
    if (
    isAssignable!(T, U)
    )
    if (
    is(T == class) ||
    is(T == interface)
    ||
    is(T == U*,
    U
    ) &&
    __traits(isScalar, T)
    )
  2. typeof(this) opAssign(typeof(null) )

Meta