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
Trait Implementations§
Source§impl Clone for FrameOffsetPlacement
impl Clone for FrameOffsetPlacement
Source§fn clone(&self) -> FrameOffsetPlacement
fn clone(&self) -> FrameOffsetPlacement
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 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 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