pub struct MeasuredBoundary { /* private fields */ }Expand description
One declared boundary of the space, as measured.
Implementations§
Source§impl MeasuredBoundary
impl MeasuredBoundary
Sourcepub fn new(
boundary: ObjectId,
element: Option<ObjectId>,
placement: BoundaryPlacement,
) -> Self
pub fn new( boundary: ObjectId, element: Option<ObjectId>, placement: BoundaryPlacement, ) -> Self
boundary (the source’s boundary identity), bounding the space
against element when the source names one.
Sourcepub fn element(&self) -> Option<&ObjectId>
pub fn element(&self) -> Option<&ObjectId>
The element on the boundary’s other side, when the source names one.
Sourcepub fn placement(&self) -> BoundaryPlacement
pub fn placement(&self) -> BoundaryPlacement
Where the boundary lies against the body.
Trait Implementations§
Source§impl Clone for MeasuredBoundary
impl Clone for MeasuredBoundary
Source§impl Debug for MeasuredBoundary
impl Debug for MeasuredBoundary
Source§impl PartialEq for MeasuredBoundary
impl PartialEq for MeasuredBoundary
impl StructuralPartialEq for MeasuredBoundary
Auto Trait Implementations§
impl Freeze for MeasuredBoundary
impl RefUnwindSafe for MeasuredBoundary
impl Send for MeasuredBoundary
impl Sync for MeasuredBoundary
impl Unpin for MeasuredBoundary
impl UnsafeUnpin for MeasuredBoundary
impl UnwindSafe for MeasuredBoundary
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