pub struct BoundaryOverlap { /* private fields */ }Expand description
Two boundaries covering the same part of the surface.
Implementations§
Source§impl BoundaryOverlap
impl BoundaryOverlap
Sourcepub fn try_new(
first: ObjectId,
second: ObjectId,
area: SurfaceAreaInterval,
) -> Result<Self, BoundaryCoverageError>
pub fn try_new( first: ObjectId, second: ObjectId, area: SurfaceAreaInterval, ) -> Result<Self, BoundaryCoverageError>
first and second overlapping by area; the pair is ordered here,
so one overlap has one spelling.
§Errors
Refuses a boundary overlapping itself.
Sourcepub fn area(&self) -> SurfaceAreaInterval
pub fn area(&self) -> SurfaceAreaInterval
The area both cover.
Trait Implementations§
Source§impl Clone for BoundaryOverlap
impl Clone for BoundaryOverlap
Source§impl Debug for BoundaryOverlap
impl Debug for BoundaryOverlap
Source§impl PartialEq for BoundaryOverlap
impl PartialEq for BoundaryOverlap
impl StructuralPartialEq for BoundaryOverlap
Auto Trait Implementations§
impl Freeze for BoundaryOverlap
impl RefUnwindSafe for BoundaryOverlap
impl Send for BoundaryOverlap
impl Sync for BoundaryOverlap
impl Unpin for BoundaryOverlap
impl UnsafeUnpin for BoundaryOverlap
impl UnwindSafe for BoundaryOverlap
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