Skip to main content

motion_source_rect

Function motion_source_rect 

Source
pub fn motion_source_rect(
    edge: MotionEdge,
    final_bounds: MotionRect,
    container: MotionRect,
) -> MotionRect
Expand description

Returns bounds for the rect just outside the container on the chosen edge.