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