pub struct PropertyExpressionNamesPair {
pub key: &'static str,
pub value: &'static str,
}Expand description
All other MapGenSettings feed into named noise expressions, and therefore placement can be overridden by including the name of a property in this dictionary. The probability and richness functions for placing specific tiles, entities, and decoratives can be overridden by including an entry named {tile|entity|decorative}:(prototype name):{probability|richness}.
Fields§
§key: &'static str§value: &'static strTrait Implementations§
Source§impl Clone for PropertyExpressionNamesPair
impl Clone for PropertyExpressionNamesPair
Source§fn clone(&self) -> PropertyExpressionNamesPair
fn clone(&self) -> PropertyExpressionNamesPair
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 moreimpl Copy for PropertyExpressionNamesPair
Source§impl Debug for PropertyExpressionNamesPair
impl Debug for PropertyExpressionNamesPair
Source§impl Default for PropertyExpressionNamesPair
impl Default for PropertyExpressionNamesPair
Source§fn default() -> PropertyExpressionNamesPair
fn default() -> PropertyExpressionNamesPair
Returns the “default value” for a type. Read more
impl Eq for PropertyExpressionNamesPair
impl StructuralPartialEq for PropertyExpressionNamesPair
Auto Trait Implementations§
impl Freeze for PropertyExpressionNamesPair
impl RefUnwindSafe for PropertyExpressionNamesPair
impl Send for PropertyExpressionNamesPair
impl Sync for PropertyExpressionNamesPair
impl Unpin for PropertyExpressionNamesPair
impl UnsafeUnpin for PropertyExpressionNamesPair
impl UnwindSafe for PropertyExpressionNamesPair
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