Source code for httk.atomistic.models.structure.view

"""
The abstract base class for all structure views in httk-atomistic.
"""

from typing import ClassVar, Self

from httk.core import View

from httk.atomistic.models.structure.backend import StructureBackend


[docs] class StructureView(View[StructureBackend]): """Define the base class for crystal-structure views.""" _backend_base_cls: ClassVar[type[StructureBackend]] = StructureBackend # type: ignore[type-abstract] _view_base_cls: ClassVar[type[Self]]
StructureView._view_base_cls = StructureView