pub struct LuaLogisticNetworkSelectPickupPointParams {
pub include_buffers: bool,
pub members: LuaLogisticNetworkMembers2,
pub name: ItemWithQualityID,
pub position: MapPosition,
}Expand description
Find the ‘best’ logistic point with this item ID and from the given position or from given chest type.
Fields§
§include_buffers: boolWhether to consider buffer chests or not. Defaults to false. Only considered if selecting with position.
members: LuaLogisticNetworkMembers2When given, it will find from only the specific type of member. If not specified, selects with normal priorities. Not considered if position is specified.
name: ItemWithQualityIDName of the item to pick up.
position: MapPositionWhen given, it will find the storage ‘best’ storage point from this position.
Trait Implementations§
Source§impl Clone for LuaLogisticNetworkSelectPickupPointParams
impl Clone for LuaLogisticNetworkSelectPickupPointParams
Source§fn clone(&self) -> LuaLogisticNetworkSelectPickupPointParams
fn clone(&self) -> LuaLogisticNetworkSelectPickupPointParams
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 moreSource§impl Default for LuaLogisticNetworkSelectPickupPointParams
impl Default for LuaLogisticNetworkSelectPickupPointParams
Source§fn default() -> LuaLogisticNetworkSelectPickupPointParams
fn default() -> LuaLogisticNetworkSelectPickupPointParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaLogisticNetworkSelectPickupPointParams
impl RefUnwindSafe for LuaLogisticNetworkSelectPickupPointParams
impl Send for LuaLogisticNetworkSelectPickupPointParams
impl Sync for LuaLogisticNetworkSelectPickupPointParams
impl Unpin for LuaLogisticNetworkSelectPickupPointParams
impl UnsafeUnpin for LuaLogisticNetworkSelectPickupPointParams
impl UnwindSafe for LuaLogisticNetworkSelectPickupPointParams
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