pub struct GeometryEvidence { /* private fields */ }Expand description
Geometry evidence for one source-qualified subject.
Implementations§
Source§impl GeometryEvidence
impl GeometryEvidence
Sourcepub fn new(
subject_id: impl Into<String>,
exactness: Exactness,
provenance: impl Into<String>,
) -> Self
pub fn new( subject_id: impl Into<String>, exactness: Exactness, provenance: impl Into<String>, ) -> Self
Creates evidence. subject_id may be local or already source-qualified.
Sourcepub fn subject_id(&self) -> &str
pub fn subject_id(&self) -> &str
Returns the source-qualified subject identifier after insertion.
Sourcepub fn exactness(&self) -> Exactness
pub fn exactness(&self) -> Exactness
Returns the fidelity declaration without upgrading approximate geometry.
Sourcepub fn provenance(&self) -> &str
pub fn provenance(&self) -> &str
Returns the opaque origin locator for the supplied evidence.
Trait Implementations§
Source§impl Clone for GeometryEvidence
impl Clone for GeometryEvidence
Source§fn clone(&self) -> GeometryEvidence
fn clone(&self) -> GeometryEvidence
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 GeometryEvidence
impl Debug for GeometryEvidence
Source§impl PartialEq for GeometryEvidence
impl PartialEq for GeometryEvidence
impl Eq for GeometryEvidence
impl StructuralPartialEq for GeometryEvidence
Auto Trait Implementations§
impl Freeze for GeometryEvidence
impl RefUnwindSafe for GeometryEvidence
impl Send for GeometryEvidence
impl Sync for GeometryEvidence
impl Unpin for GeometryEvidence
impl UnwindSafe for GeometryEvidence
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