# DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs
# Based on "crates/store/re_sdk_types/definitions/rerun/components/linear_speed.fbs".

# You can extend this class by creating a "LinearSpeedExt" class in "linear_speed_ext.py".

from __future__ import annotations

from .. import datatypes
from .._baseclasses import (
    ComponentBatchMixin,
    ComponentMixin,
)

__all__ = ["LinearSpeed", "LinearSpeedBatch"]


class LinearSpeed(datatypes.Float64, ComponentMixin):
    """**Component**: Linear speed, used for translation speed for example."""

    _BATCH_TYPE = None
    # You can define your own __init__ function as a member of LinearSpeedExt in linear_speed_ext.py

    # Note: there are no fields here because LinearSpeed delegates to datatypes.Float64


class LinearSpeedBatch(datatypes.Float64Batch, ComponentBatchMixin):
    _COMPONENT_TYPE: str = "rerun.components.LinearSpeed"


# This is patched in late to avoid circular dependencies.
LinearSpeed._BATCH_TYPE = LinearSpeedBatch  # type: ignore[assignment]
