Skip to content

How to access a property of a non-toplevel component from Rust code? #5149

Closed Answered by bjorn
PuercoPop asked this question in Q&A
Discussion options

You must be logged in to vote

You basically just need to make it a top-level property and forward it down the hierarchy of components. Alternatively, you might want to consider making it available as a property of an exported global singleton.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PuercoPop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants