pub struct ValueDescription {
pub icon: (Option<String>, String),
pub name: (Option<String>, String),
pub value: i32,
pub lot: i32,
pub min_lot: i32,
}Expand description
A ValueDescription: what one unit of a good is worth in trade, and how it is shown.
Original: FUN_14005d6c0, FUN_14005d7e0.
Fields§
§icon: (Option<String>, String)The icon: sprite sheet and sprite name.
name: (Option<String>, String)The name: string table and key.
value: i32The value of one unit.
lot: i32A merchant’s lot, before the town’s divisor (100).
min_lot: i32The smallest lot.
Trait Implementations§
Source§impl Clone for ValueDescription
impl Clone for ValueDescription
Source§fn clone(&self) -> ValueDescription
fn clone(&self) -> ValueDescription
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 Debug for ValueDescription
impl Debug for ValueDescription
Source§impl Default for ValueDescription
impl Default for ValueDescription
Source§fn default() -> ValueDescription
fn default() -> ValueDescription
Returns the “default value” for a type. Read more
impl Eq for ValueDescription
Source§impl PartialEq for ValueDescription
impl PartialEq for ValueDescription
impl StructuralPartialEq for ValueDescription
Auto Trait Implementations§
impl Freeze for ValueDescription
impl RefUnwindSafe for ValueDescription
impl Send for ValueDescription
impl Sync for ValueDescription
impl Unpin for ValueDescription
impl UnsafeUnpin for ValueDescription
impl UnwindSafe for ValueDescription
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