Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
rs-tiled
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microhacks
rs-tiled
Commits
3a7b069f
Unverified
Commit
3a7b069f
authored
3 years ago
by
David M
Browse files
Options
Downloads
Patches
Plain Diff
Add docs for layer id members
parent
1685c4b8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/layers.rs
+2
-0
2 additions, 0 deletions
src/layers.rs
src/objects.rs
+2
-0
2 additions, 0 deletions
src/objects.rs
with
4 additions
and
0 deletions
src/layers.rs
+
2
−
0
View file @
3a7b069f
...
...
@@ -54,6 +54,8 @@ pub struct Layer {
pub
tiles
:
LayerData
,
pub
properties
:
Properties
,
pub
layer_index
:
u32
,
/// The ID of the layer, as shown in the editor.
/// Layer ID stays the same even if layers are reordered or modified in the editor.
pub
id
:
u32
,
}
...
...
This diff is collapsed.
Click to expand it.
src/objects.rs
+
2
−
0
View file @
3a7b069f
...
...
@@ -20,6 +20,8 @@ pub struct ObjectGroup {
*/
pub
layer_index
:
Option
<
u32
>
,
pub
properties
:
Properties
,
/// The ID of the layer, as shown in the editor.
/// Layer ID stays the same even if layers are reordered or modified in the editor.
pub
id
:
u32
,
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment