#[repr(i32)]pub enum RectanglesIntersectTypes {
INTERSECT_NONE = 0,
INTERSECT_PARTIAL = 1,
INTERSECT_FULL = 2,
}Expand description
types of intersection between rectangles
Variants§
INTERSECT_NONE = 0
No intersection
INTERSECT_PARTIAL = 1
There is a partial intersection
INTERSECT_FULL = 2
One of the rectangle is fully enclosed in the other
Trait Implementations§
Source§impl Clone for RectanglesIntersectTypes
impl Clone for RectanglesIntersectTypes
Source§fn clone(&self) -> RectanglesIntersectTypes
fn clone(&self) -> RectanglesIntersectTypes
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 RectanglesIntersectTypes
Source§impl Debug for RectanglesIntersectTypes
impl Debug for RectanglesIntersectTypes
impl Eq for RectanglesIntersectTypes
Source§impl From<RectanglesIntersectTypes> for i32
impl From<RectanglesIntersectTypes> for i32
Source§fn from(v: RectanglesIntersectTypes) -> Self
fn from(v: RectanglesIntersectTypes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RectanglesIntersectTypes
impl PartialEq for RectanglesIntersectTypes
Source§fn eq(&self, other: &RectanglesIntersectTypes) -> bool
fn eq(&self, other: &RectanglesIntersectTypes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RectanglesIntersectTypes
Auto Trait Implementations§
impl Freeze for RectanglesIntersectTypes
impl RefUnwindSafe for RectanglesIntersectTypes
impl Send for RectanglesIntersectTypes
impl Sync for RectanglesIntersectTypes
impl Unpin for RectanglesIntersectTypes
impl UnsafeUnpin for RectanglesIntersectTypes
impl UnwindSafe for RectanglesIntersectTypes
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