transformable.rs

1use gpui::Transformation;
2
3/// A trait for components that can be transformed.
4pub trait Transformable {
5    /// Sets the transformation for the element.
6    fn transform(self, transformation: Transformation) -> Self;
7}