pub struct MoveOption {
pub label: String,
pub kind: MoveOptionKind,
pub volume: Option<(f32, f32)>,
}Expand description
A destination the currently-picked item could be moved to.
Fields§
§label: String§kind: MoveOptionKind§volume: Option<(f32, f32)>Used / capacity volume when this destination is a storage container.
Implementations§
Source§impl MoveOption
impl MoveOption
Sourcepub fn volume_usage_label(&self) -> Option<String>
pub fn volume_usage_label(&self) -> Option<String>
Inventory-style vol used/cap (N free) for picker rows.
Trait Implementations§
Source§impl Clone for MoveOption
impl Clone for MoveOption
Source§fn clone(&self) -> MoveOption
fn clone(&self) -> MoveOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MoveOption
impl RefUnwindSafe for MoveOption
impl Send for MoveOption
impl Sync for MoveOption
impl Unpin for MoveOption
impl UnsafeUnpin for MoveOption
impl UnwindSafe for MoveOption
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