pub struct FrameOffsetPlacement { /* private fields */ }Expand description
Restricts candidate-frame origins to offsets in an anchor frame.
Implementations§
Source§impl FrameOffsetPlacement
impl FrameOffsetPlacement
pub fn new( anchor: MetricFrame, right: SignedDistanceInterval, forward: SignedDistanceInterval, up: SignedDistanceInterval, ) -> Self
pub fn anchor(&self) -> &MetricFrame
pub fn right(&self) -> SignedDistanceInterval
pub fn forward(&self) -> SignedDistanceInterval
pub fn up(&self) -> SignedDistanceInterval
Sourcepub fn contains_frame(&self, frame: &MetricFrame) -> bool
pub fn contains_frame(&self, frame: &MetricFrame) -> bool
Whether a found frame keeps the anchor’s axes and lies within the offsets. Placement evidence is validated with exactly this test, so a backend may filter its witnesses with it.
Trait Implementations§
Source§impl Clone for FrameOffsetPlacement
impl Clone for FrameOffsetPlacement
Source§impl Debug for FrameOffsetPlacement
impl Debug for FrameOffsetPlacement
Source§impl PartialEq for FrameOffsetPlacement
impl PartialEq for FrameOffsetPlacement
impl StructuralPartialEq for FrameOffsetPlacement
Auto Trait Implementations§
impl Freeze for FrameOffsetPlacement
impl RefUnwindSafe for FrameOffsetPlacement
impl Send for FrameOffsetPlacement
impl Sync for FrameOffsetPlacement
impl Unpin for FrameOffsetPlacement
impl UnsafeUnpin for FrameOffsetPlacement
impl UnwindSafe for FrameOffsetPlacement
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