pub struct IntersectionRect {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Expand description
幾何矩形 (x, y, width, height)
Fields§
§x: f64§y: f64§width: f64§height: f64Implementations§
Trait Implementations§
Source§impl Clone for IntersectionRect
impl Clone for IntersectionRect
Source§fn clone(&self) -> IntersectionRect
fn clone(&self) -> IntersectionRect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntersectionRect
Source§impl Debug for IntersectionRect
impl Debug for IntersectionRect
Source§impl PartialEq for IntersectionRect
impl PartialEq for IntersectionRect
impl StructuralPartialEq for IntersectionRect
Auto Trait Implementations§
impl Freeze for IntersectionRect
impl RefUnwindSafe for IntersectionRect
impl Send for IntersectionRect
impl Sync for IntersectionRect
impl Unpin for IntersectionRect
impl UnsafeUnpin for IntersectionRect
impl UnwindSafe for IntersectionRect
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