mockStruct

Undocumented in source. Be warned that the author may not have intended to support it.
  1. auto mockStruct(T returns)
  2. auto mockStruct()
  3. auto mockStruct(R returns)
    mockStruct
    (
    R...
    )
    (
    auto ref R returns
    )
    if (
    R.length > 0 &&
    from!"std.meta".allSatisfy!(isMockReturn, R)
    )

Meta