Struct ldtk2::AutoLayerRuleGroup
source · [−]pub struct AutoLayerRuleGroup {
pub active: bool,
pub collapsed: Option<bool>,
pub is_optional: bool,
pub name: String,
pub rules: Vec<AutoLayerRuleDefinition>,
pub uid: i64,
}
Fields
active: bool
collapsed: Option<bool>
This field was removed in 1.0.0 and should no longer be used.
is_optional: bool
name: String
rules: Vec<AutoLayerRuleDefinition>
uid: i64
Trait Implementations
sourceimpl Clone for AutoLayerRuleGroup
impl Clone for AutoLayerRuleGroup
sourcefn clone(&self) -> AutoLayerRuleGroup
fn clone(&self) -> AutoLayerRuleGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AutoLayerRuleGroup
impl Debug for AutoLayerRuleGroup
sourceimpl<'de> Deserialize<'de> for AutoLayerRuleGroup
impl<'de> Deserialize<'de> for AutoLayerRuleGroup
sourcefn 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
sourceimpl Serialize for AutoLayerRuleGroup
impl Serialize for AutoLayerRuleGroup
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more