pub enum IntersectSegments {
INTERSECTED,
OVERLAPPED,
NOT_INTERSECTED,
SAME,
}
Expand description
2つの線分の位置関係
Variants§
Implementations§
Source§impl IntersectSegments
impl IntersectSegments
Sourcepub fn intersected(self) -> bool
pub fn intersected(self) -> bool
INTERSECTED
かを判定
Sourcepub fn overlapped(self) -> bool
pub fn overlapped(self) -> bool
OVERLAPPED
かを判定
Sourcepub fn not_intersected(self) -> bool
pub fn not_intersected(self) -> bool
NOT_INTERSECTED
かを判定
Trait Implementations§
Source§impl Clone for IntersectSegments
impl Clone for IntersectSegments
Source§fn clone(&self) -> IntersectSegments
fn clone(&self) -> IntersectSegments
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 IntersectSegments
impl Debug for IntersectSegments
Source§impl PartialEq for IntersectSegments
impl PartialEq for IntersectSegments
impl Copy for IntersectSegments
impl StructuralPartialEq for IntersectSegments
Auto Trait Implementations§
impl Freeze for IntersectSegments
impl RefUnwindSafe for IntersectSegments
impl Send for IntersectSegments
impl Sync for IntersectSegments
impl Unpin for IntersectSegments
impl UnwindSafe for IntersectSegments
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