fn addScalar(r: *Managed, a: *const Managed, scalar: anytype) Allocator.Error!void

r = a + scalar

r and a may be aliases.

Returns an error if memory could not be allocated.

Parameters

r: *Managed,
a: *const Managed,
scalar: anytype,