You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the general form should cover all cases, I believe the format! is the most often scenario, so bind! macro should treat string literals as format. The previous example will looks like this:
From my point of view, transformers should be a part of BindTo only, but looks like it is much simpler to make them a part of BindFrom, at least as the first step.
The text was updated successfully, but these errors were encountered:
For now you can bind only values of the same type:
The
Player.name
andLabel.value
are string types.It should be possile to provide some transformer to the bind:
While the general form should cover all cases, I believe the
format!
is the most often scenario, sobind!
macro should treat string literals as format. The previous example will looks like this:From my point of view, transformers should be a part of
BindTo
only, but looks like it is much simpler to make them a part ofBindFrom
, at least as the first step.The text was updated successfully, but these errors were encountered: