pub struct ClimbableCandidate { /* private fields */ }Expand description
An object next to a barrier that could be climbed to defeat it.
Implementations§
Source§impl ClimbableCandidate
impl ClimbableCandidate
pub fn try_new( element: ObjectId, barrier: ObjectId, distance_to_barrier_metres: f64, top_offset_metres: f64, minimum_side_length_metres: f64, ) -> Result<Self, GuardError>
pub fn element(&self) -> &ObjectId
pub fn barrier(&self) -> &ObjectId
pub fn distance_to_barrier_metres(&self) -> f64
pub fn top_offset_metres(&self) -> f64
pub fn minimum_side_length_metres(&self) -> f64
Trait Implementations§
Source§impl Clone for ClimbableCandidate
impl Clone for ClimbableCandidate
Source§fn clone(&self) -> ClimbableCandidate
fn clone(&self) -> ClimbableCandidate
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 ClimbableCandidate
impl Debug for ClimbableCandidate
Source§impl PartialEq for ClimbableCandidate
impl PartialEq for ClimbableCandidate
impl StructuralPartialEq for ClimbableCandidate
Auto Trait Implementations§
impl Freeze for ClimbableCandidate
impl RefUnwindSafe for ClimbableCandidate
impl Send for ClimbableCandidate
impl Sync for ClimbableCandidate
impl Unpin for ClimbableCandidate
impl UnsafeUnpin for ClimbableCandidate
impl UnwindSafe for ClimbableCandidate
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