pub struct Rect9Points {
pub top_left: Vector2,
pub top_right: Vector2,
pub bottom_right: Vector2,
pub bottom_left: Vector2,
pub top_center: Vector2,
pub right_center: Vector2,
pub bottom_center: Vector2,
pub left_center: Vector2,
pub center: Vector2,
}Expand description
Returns an object containing the nine control points of a rectangle.
Fields§
§top_left: Vector2§top_right: Vector2§bottom_right: Vector2§bottom_left: Vector2§top_center: Vector2§right_center: Vector2§bottom_center: Vector2§left_center: Vector2§center: Vector2Trait Implementations§
Source§impl Clone for Rect9Points
impl Clone for Rect9Points
Source§fn clone(&self) -> Rect9Points
fn clone(&self) -> Rect9Points
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 Rect9Points
impl Debug for Rect9Points
Source§impl PartialEq for Rect9Points
impl PartialEq for Rect9Points
impl Copy for Rect9Points
impl StructuralPartialEq for Rect9Points
Auto Trait Implementations§
impl Freeze for Rect9Points
impl RefUnwindSafe for Rect9Points
impl Send for Rect9Points
impl Sync for Rect9Points
impl Unpin for Rect9Points
impl UnwindSafe for Rect9Points
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