pub trait Visible {
    fn position(&self) -> Position;
    fn position_mut(&mut self) -> &mut Position;
    fn is_connector(&self) -> bool;
    fn transpose(&mut self);
    fn resize(&mut self);
}
Expand description

This is the trait that all elements that can be arranged need to implement.

Required Methods

\return the Position of the shape.

\return the mutable reference to the Position of the shape.

Return true if the element is a connector.

Swap the coordinates of the location and size.

Update the size of the shape.

Implementors