import attr


def struct(*args, **kw):
    """
    Wrapper around ``attr.s``.

    Sets ``slots=True`` and ``auto_attribs=True``. All other arguments are
    forwared to ``attr.s``.
    """
    return attr.s(*args, slots=True, auto_attribs=True, **kw)