Struct yy_typings::room::Layer
source · [−]pub struct Layer {
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,
}
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.
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
sourceimpl PartialEq<Layer> for Layer
impl PartialEq<Layer> for Layer
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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