pub struct GuardEvidence { /* private fields */ }Expand description
Measured fall-protection geometry for a model.
Implementations§
Source§impl GuardEvidence
impl GuardEvidence
pub fn try_new( edges: Vec<GuardEdge>, evaluated_surfaces: usize, evidence: Evidence, ) -> Result<Self, GuardError>
pub fn edges(&self) -> &[GuardEdge]
Sourcepub fn evaluated_surfaces(&self) -> usize
pub fn evaluated_surfaces(&self) -> usize
How many walking surfaces the measurement considered.
pub fn evidence(&self) -> &Evidence
Trait Implementations§
Source§impl Clone for GuardEvidence
impl Clone for GuardEvidence
Source§fn clone(&self) -> GuardEvidence
fn clone(&self) -> GuardEvidence
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 moreSource§impl Debug for GuardEvidence
impl Debug for GuardEvidence
Source§impl PartialEq for GuardEvidence
impl PartialEq for GuardEvidence
impl StructuralPartialEq for GuardEvidence
Auto Trait Implementations§
impl Freeze for GuardEvidence
impl RefUnwindSafe for GuardEvidence
impl Send for GuardEvidence
impl Sync for GuardEvidence
impl Unpin for GuardEvidence
impl UnsafeUnpin for GuardEvidence
impl UnwindSafe for GuardEvidence
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