pub struct MetricFrame { /* private fields */ }Implementations§
Source§impl MetricFrame
impl MetricFrame
pub fn try_new( origin: MetricPoint, right: MetricDirection, forward: MetricDirection, up: MetricDirection, ) -> Result<Self, FreeSpaceError>
pub fn origin(&self) -> &MetricPoint
pub fn right(&self) -> MetricDirection
pub fn forward(&self) -> MetricDirection
pub fn up(&self) -> MetricDirection
Trait Implementations§
Source§impl Clone for MetricFrame
impl Clone for MetricFrame
Source§fn clone(&self) -> MetricFrame
fn clone(&self) -> MetricFrame
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 MetricFrame
impl Debug for MetricFrame
Source§impl PartialEq for MetricFrame
impl PartialEq for MetricFrame
impl StructuralPartialEq for MetricFrame
Auto Trait Implementations§
impl Freeze for MetricFrame
impl RefUnwindSafe for MetricFrame
impl Send for MetricFrame
impl Sync for MetricFrame
impl Unpin for MetricFrame
impl UnwindSafe for MetricFrame
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