Switchable.enabled

Set the state of object.

Set the state of object. Whether is enabled or not.

  1. inout(bool) enabled [@property getter]
  2. bool enabled [@property setter]
    interface Switchable
    @property @safe nothrow
    enabled
    (
    bool enable
    )

Parameters

enable bool

true to enable, false to disable.

Meta