pub struct CraftVesselLine {
pub label: String,
pub holds: String,
pub capacity: u32,
pub used: u32,
pub free: u32,
pub quantity: u32,
pub accepts_output: bool,
pub location: &'static str,
}Expand description
One serving vessel shown in the craft detail panel.
Fields§
§label: String§holds: String§capacity: u32§used: u32§free: u32§quantity: u32§accepts_output: bool§location: &'static strTrait Implementations§
Source§impl Clone for CraftVesselLine
impl Clone for CraftVesselLine
Source§fn clone(&self) -> CraftVesselLine
fn clone(&self) -> CraftVesselLine
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 CraftVesselLine
impl RefUnwindSafe for CraftVesselLine
impl Send for CraftVesselLine
impl Sync for CraftVesselLine
impl Unpin for CraftVesselLine
impl UnsafeUnpin for CraftVesselLine
impl UnwindSafe for CraftVesselLine
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