Struct qt_core::q_line_f::IntersectType
source · pub struct IntersectType(/* private fields */);
Expand description
Describes the intersection between two lines.
C++ enum: QLineF::IntersectType
.
Implementations§
source§impl IntersectType
impl IntersectType
sourcepub const NoIntersection: IntersectType = _
pub const NoIntersection: IntersectType = _
Indicates that the lines do not intersect; i.e. they are parallel. (C++ enum variant: NoIntersection = 0
)
sourcepub const BoundedIntersection: IntersectType = _
pub const BoundedIntersection: IntersectType = _
The two lines intersect with each other within the start and end points of each line. (C++ enum variant: BoundedIntersection = 1
)
sourcepub const UnboundedIntersection: IntersectType = _
pub const UnboundedIntersection: IntersectType = _
The two lines intersect, but not within the range defined by their lengths. This will be the case if the lines are not parallel. (C++ enum variant: UnboundedIntersection = 2
)
Trait Implementations§
source§impl Clone for IntersectType
impl Clone for IntersectType
source§fn clone(&self) -> IntersectType
fn clone(&self) -> IntersectType
Returns a copy 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 IntersectType
impl Debug for IntersectType
source§impl From<IntersectType> for c_int
impl From<IntersectType> for c_int
source§fn from(value: IntersectType) -> Self
fn from(value: IntersectType) -> Self
Converts to this type from the input type.
source§impl From<i32> for IntersectType
impl From<i32> for IntersectType
source§impl PartialEq for IntersectType
impl PartialEq for IntersectType
source§fn eq(&self, other: &IntersectType) -> bool
fn eq(&self, other: &IntersectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IntersectType
impl Eq for IntersectType
impl StructuralEq for IntersectType
impl StructuralPartialEq for IntersectType
Auto Trait Implementations§
impl RefUnwindSafe for IntersectType
impl Send for IntersectType
impl Sync for IntersectType
impl Unpin for IntersectType
impl UnwindSafe for IntersectType
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