pub trait FitTarget2d<F: Float> {
    // Required method
    fn make_fit(&self, object: &mut impl Transform2d<F>);
}
Expand description

Represents a type that can be used to fit Transform2d objects into

Required Methods§

source

fn make_fit(&self, object: &mut impl Transform2d<F>)

Make given object’s bounding Quad fit into self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: Float> FitTarget2d<T> for Aabb2<T>

source§

fn make_fit(&self, object: &mut impl Transform2d<T>)

Implementors§

source§

impl<T: Float> FitTarget2d<T> for Ellipse<T>

source§

impl<T: Float> FitTarget2d<T> for Quad<T>