Struct ldtk2::AutoLayerRuleGroup
source · pub struct AutoLayerRuleGroup {
pub active: bool,
pub biome_requirement_mode: i64,
pub collapsed: Option<bool>,
pub color: Option<String>,
pub icon: Option<TilesetRectangle>,
pub is_optional: bool,
pub name: String,
pub required_biome_values: Vec<String>,
pub rules: Vec<AutoLayerRuleDefinition>,
pub uid: i64,
pub uses_wizard: bool,
}
Fields§
§active: bool
§biome_requirement_mode: i64
§collapsed: Option<bool>
This field was removed in 1.0.0 and should no longer be used.
color: Option<String>
§icon: Option<TilesetRectangle>
§is_optional: bool
§name: String
§required_biome_values: Vec<String>
§rules: Vec<AutoLayerRuleDefinition>
§uid: i64
§uses_wizard: bool
Trait Implementations§
source§impl Clone for AutoLayerRuleGroup
impl Clone for AutoLayerRuleGroup
source§fn clone(&self) -> AutoLayerRuleGroup
fn clone(&self) -> AutoLayerRuleGroup
Returns a copy of the value. Read more
1.0.0 · 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 AutoLayerRuleGroup
impl Debug for AutoLayerRuleGroup
source§impl<'de> Deserialize<'de> for AutoLayerRuleGroup
impl<'de> Deserialize<'de> for AutoLayerRuleGroup
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AutoLayerRuleGroup
impl Send for AutoLayerRuleGroup
impl Sync for AutoLayerRuleGroup
impl Unpin for AutoLayerRuleGroup
impl UnwindSafe for AutoLayerRuleGroup
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