pub struct RotatedRect {
pub x: f32,
pub y: f32,
pub w: f32,
pub h: f32,
pub a: f32,
}Fields§
§x: f32§y: f32§w: f32§h: f32§a: f32Trait Implementations§
Source§impl Clone for RotatedRect
impl Clone for RotatedRect
Source§fn clone(&self) -> RotatedRect
fn clone(&self) -> RotatedRect
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 RotatedRect
impl Debug for RotatedRect
Source§impl From<&RotatedRect> for BoundingBox<f32>
impl From<&RotatedRect> for BoundingBox<f32>
Source§fn from(rect: &RotatedRect) -> Self
fn from(rect: &RotatedRect) -> Self
Converts to this type from the input type.
Source§impl Intersection for RotatedRect
impl Intersection for RotatedRect
fn intersects(&self, other: &Self) -> bool
impl Copy for RotatedRect
Auto Trait Implementations§
impl Freeze for RotatedRect
impl RefUnwindSafe for RotatedRect
impl Send for RotatedRect
impl Sync for RotatedRect
impl Unpin for RotatedRect
impl UnwindSafe for RotatedRect
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