pub struct TransformAndBounds {
pub transform: Affine,
pub bounds: (f64, f64),
}
Expand description
Stores the computed transform and the pre-transform bounding box (where the other corner is the origin). Useful for ray-casting, along with
Fields§
§transform: Affine
§bounds: (f64, f64)
Implementations§
Trait Implementations§
Source§impl Clone for TransformAndBounds
impl Clone for TransformAndBounds
Source§fn clone(&self) -> TransformAndBounds
fn clone(&self) -> TransformAndBounds
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransformAndBounds
impl Debug for TransformAndBounds
Source§impl PartialEq for TransformAndBounds
impl PartialEq for TransformAndBounds
impl StructuralPartialEq for TransformAndBounds
Auto Trait Implementations§
impl Freeze for TransformAndBounds
impl RefUnwindSafe for TransformAndBounds
impl Send for TransformAndBounds
impl Sync for TransformAndBounds
impl Unpin for TransformAndBounds
impl UnwindSafe for TransformAndBounds
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.