pub struct LinearQuantityRequest { /* private fields */ }Expand description
A request for one linear measurement of one object.
The doors and openings of the scope are the rule’s selection, carried in the request: which elements give access to a space is semantic, so the capability reads it and the adapter only places each one’s clearance.
Implementations§
Source§impl LinearQuantityRequest
impl LinearQuantityRequest
Sourcepub fn new(scope: ObjectId, kind: LinearQuantityKind) -> Self
pub fn new(scope: ObjectId, kind: LinearQuantityKind) -> Self
A request for a scope without doors or openings.
Sourcepub fn with_doors(self, doors: impl IntoIterator<Item = ObjectId>) -> Self
pub fn with_doors(self, doors: impl IntoIterator<Item = ObjectId>) -> Self
The doors and openings whose clearances carry no shelving, kept sorted and once each.
pub fn scope(&self) -> &ObjectId
pub fn kind(&self) -> LinearQuantityKind
Trait Implementations§
Source§impl Clone for LinearQuantityRequest
impl Clone for LinearQuantityRequest
Source§impl Debug for LinearQuantityRequest
impl Debug for LinearQuantityRequest
Source§impl PartialEq for LinearQuantityRequest
impl PartialEq for LinearQuantityRequest
impl StructuralPartialEq for LinearQuantityRequest
Auto Trait Implementations§
impl Freeze for LinearQuantityRequest
impl RefUnwindSafe for LinearQuantityRequest
impl Send for LinearQuantityRequest
impl Sync for LinearQuantityRequest
impl Unpin for LinearQuantityRequest
impl UnsafeUnpin for LinearQuantityRequest
impl UnwindSafe for LinearQuantityRequest
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