Module geometry Copy item path Source Rect Represents a rectangle with a position (Rect::x , Rect::y )
and dimensions (Rect::w , Rect::h ). Direction Represents the four different direction where we can search for a neighbor Flip Represents the four states an object can be in,
if it can be flipped horizontally and vertically. Reserve Determines whether the space of a layouts’ column should be reserved
when there is no window inside the column. A value of Reserve::Reserve or
Reserve::ReserveAndCenter will reserve the column space and make other
column(s) avoid it entirely. While a value of Reserve::None
makes other columns overtake the empty column space. Rotation Represents the four different possibilities of rotation. Size Helper enum to represent a size which can be
an absolute pixel value or a relative ratio value Split Describes different ways a crate::geometry::Rect can be split. divrem Divide the provided a by b and return the
result of the integer division as well as the remainder. flip Flip an array of Rect inside the container, according to the provided flip parameter remainderless_division Divide the provided a by b and prevent
remainders by distributing the remainder count
evenly across the results. rotate Rotates an array of Rect inside the container, according to the provided rotation parameter. split Splits the provided Rect into smaller rectangles
according to the provided Split .