pub struct ObjectFrame { /* private fields */ }Expand description
One object’s placement frame and stated front, with provenance.
Implementations§
Source§impl ObjectFrame
impl ObjectFrame
Sourcepub fn try_new(
object: ObjectId,
frame: MetricFrame,
front: ObjectFront,
evidence: Evidence,
) -> Result<Self, ObjectFrameError>
pub fn try_new( object: ObjectId, frame: MetricFrame, front: ObjectFront, evidence: Evidence, ) -> Result<Self, ObjectFrameError>
The frame of object.
The frame’s origin must be grounded on object, and the evidence must
be exact, reviewable and from the object’s source: a placement is
stated, never estimated.
Sourcepub fn frame(&self) -> &MetricFrame
pub fn frame(&self) -> &MetricFrame
The placement frame: origin in canonical metres and right-handed orthonormal right, forward and up axes.
Sourcepub fn front(&self) -> ObjectFront
pub fn front(&self) -> ObjectFront
The front the source states, or ObjectFront::NotStated.
Trait Implementations§
Source§impl Clone for ObjectFrame
impl Clone for ObjectFrame
Source§impl Debug for ObjectFrame
impl Debug for ObjectFrame
Source§impl PartialEq for ObjectFrame
impl PartialEq for ObjectFrame
impl StructuralPartialEq for ObjectFrame
Auto Trait Implementations§
impl Freeze for ObjectFrame
impl RefUnwindSafe for ObjectFrame
impl Send for ObjectFrame
impl Sync for ObjectFrame
impl Unpin for ObjectFrame
impl UnsafeUnpin for ObjectFrame
impl UnwindSafe for ObjectFrame
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