Struct yy_typings::room::Layer
source · [−]pub struct Layer {Show 13 fields
pub data: LayerData,
pub visible: bool,
pub depth: i32,
pub user_defined_depth: bool,
pub inherit_layer_depth: bool,
pub inherit_layer_settings: bool,
pub grid_x: i32,
pub grid_y: i32,
pub layers: Vec<Layer>,
pub hierarchy_frozen: bool,
pub resource_version: ResourceVersion,
pub name: String,
pub tags: Tags,
}
Fields
data: LayerData
visible: bool
depth: i32
user_defined_depth: bool
inherit_layer_depth: bool
inherit_layer_settings: bool
grid_x: i32
grid_y: i32
layers: Vec<Layer>
hierarchy_frozen: bool
resource_version: ResourceVersion
The resource version of this yy file. At default 1.0.
name: String
The name of the object. This is the human readable name used in the IDE.
The tags given to the object.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Layer
impl<'de> Deserialize<'de> for Layer
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
impl StructuralPartialEq for Layer
Auto Trait Implementations
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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