pub( crate ) mod private
{
use crate::*;
#[ derive( Debug ) ]
pub struct Rect
{
pub left_top : X2< i32 >,
pub right_bottom : X2< i32 >,
}
impl Rect
{
pub fn new( left_top : X2< i32 >, right_bottom : X2< i32 > ) -> Self
{
Self{ left_top, right_bottom }
}
}
}
pub mod protected
{
pub use super::orphan::*;
}
pub use protected::*;
pub mod orphan
{
pub use super::
{
exposed::*,
private::Rect,
};
}
pub mod exposed
{
pub use super::
{
prelude::*,
};
}
pub use exposed::*;
pub mod prelude
{
pub use super::private::
{
};
}