pub struct XYCutPlusPlus { /* private fields */ }Implementations§
Source§impl XYCutPlusPlus
impl XYCutPlusPlus
pub fn new(config: XYCutConfig) -> Self
Sourcepub fn compute_order<T: BoundingBox>(
&self,
elements: &[T],
x_min: f32,
y_min: f32,
x_max: f32,
y_max: f32,
) -> Vec<usize>
pub fn compute_order<T: BoundingBox>( &self, elements: &[T], x_min: f32, y_min: f32, x_max: f32, y_max: f32, ) -> Vec<usize>
Main entry point: compute reading order for elements
Auto Trait Implementations§
impl Freeze for XYCutPlusPlus
impl RefUnwindSafe for XYCutPlusPlus
impl Send for XYCutPlusPlus
impl Sync for XYCutPlusPlus
impl Unpin for XYCutPlusPlus
impl UnwindSafe for XYCutPlusPlus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more