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
Currently STAM forcibly takes memory ownership of texts (strings), both in TextResource and in DataValue. For more flexible use in situations where the caller wants to retrain ownership, these Strings could be rewritten to Cow<'a,str>. This would be a fairly big refactoring make those structs, and the whole AnnotationStore, subject to a lifetime though.
(not a priority, just an idea)
The text was updated successfully, but these errors were encountered:
Currently STAM forcibly takes memory ownership of texts (strings), both in
TextResource
and inDataValue
. For more flexible use in situations where the caller wants to retrain ownership, these Strings could be rewritten toCow<'a,str>
. This would be a fairly big refactoring make those structs, and the whole AnnotationStore, subject to a lifetime though.(not a priority, just an idea)
The text was updated successfully, but these errors were encountered: