NotNull.opAssign

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

  1. typeof(this) opAssign(NotNull!U rhs)
    struct NotNull(T)
    pure nothrow @safe @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