pub struct PlanarPcurveImageEqualityReport2 { /* private fields */ }Expand description
Evidence report for one planar pcurve image-equality predicate.
Implementations§
Source§impl PlanarPcurveImageEqualityReport2
impl PlanarPcurveImageEqualityReport2
Sourcepub fn new(
relation: PlanarPcurveImageRelation2,
surface: Option<RetainedPlanarSurfaceIdentity2>,
segment_count: usize,
) -> CurveResult<Self>
pub fn new( relation: PlanarPcurveImageRelation2, surface: Option<RetainedPlanarSurfaceIdentity2>, segment_count: usize, ) -> CurveResult<Self>
Constructs a planar pcurve image-equality report.
Sourcepub const fn relation(&self) -> PlanarPcurveImageRelation2
pub const fn relation(&self) -> PlanarPcurveImageRelation2
Returns the certified relation.
Sourcepub const fn surface(&self) -> Option<RetainedPlanarSurfaceIdentity2>
pub const fn surface(&self) -> Option<RetainedPlanarSurfaceIdentity2>
Returns the common retained surface when both pcurves share one.
Sourcepub const fn segment_count(&self) -> usize
pub const fn segment_count(&self) -> usize
Returns the segment count in the compared UV image when it matched.
Trait Implementations§
Source§impl Clone for PlanarPcurveImageEqualityReport2
impl Clone for PlanarPcurveImageEqualityReport2
Source§fn clone(&self) -> PlanarPcurveImageEqualityReport2
fn clone(&self) -> PlanarPcurveImageEqualityReport2
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 Eq for PlanarPcurveImageEqualityReport2
Source§impl PartialEq for PlanarPcurveImageEqualityReport2
impl PartialEq for PlanarPcurveImageEqualityReport2
Source§fn eq(&self, other: &PlanarPcurveImageEqualityReport2) -> bool
fn eq(&self, other: &PlanarPcurveImageEqualityReport2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlanarPcurveImageEqualityReport2
Auto Trait Implementations§
impl Freeze for PlanarPcurveImageEqualityReport2
impl RefUnwindSafe for PlanarPcurveImageEqualityReport2
impl Send for PlanarPcurveImageEqualityReport2
impl Sync for PlanarPcurveImageEqualityReport2
impl Unpin for PlanarPcurveImageEqualityReport2
impl UnsafeUnpin for PlanarPcurveImageEqualityReport2
impl UnwindSafe for PlanarPcurveImageEqualityReport2
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