pub enum Containment {
Outside,
Boundary,
Interior,
}Expand description
Position of a point relative to a footprint union or one of its members.
Variants§
Outside
The point is outside the captured area.
Boundary
The point lies on a captured boundary and counts as covered.
Interior
The point lies inside the captured area.
Implementations§
Source§impl Containment
impl Containment
Sourcepub fn is_covered(self) -> bool
pub fn is_covered(self) -> bool
Whether the point counts as covered under the inclusive-boundary rule.
Trait Implementations§
Source§impl Clone for Containment
impl Clone for Containment
Source§fn clone(&self) -> Containment
fn clone(&self) -> Containment
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 Containment
Source§impl Debug for Containment
impl Debug for Containment
Source§impl<'de> Deserialize<'de> for Containment
impl<'de> Deserialize<'de> for Containment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Containment
Source§impl PartialEq for Containment
impl PartialEq for Containment
Source§impl Serialize for Containment
impl Serialize for Containment
impl StructuralPartialEq for Containment
Auto Trait Implementations§
impl Freeze for Containment
impl RefUnwindSafe for Containment
impl Send for Containment
impl Sync for Containment
impl Unpin for Containment
impl UnsafeUnpin for Containment
impl UnwindSafe for Containment
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