re_types/blueprint/components/
tensor_dimension_index_slider_ext.rs

1
2
3
4
5
6
7
8
9
10
use crate::blueprint::datatypes;

use super::TensorDimensionIndexSlider;

impl TensorDimensionIndexSlider {
    /// Creates a new `TensorDimensionIndexSlider` to determine the index for a given `dimension`.
    pub fn new(dimension: u32) -> Self {
        Self(datatypes::TensorDimensionIndexSlider { dimension })
    }
}