-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement data transformer for Script_Extensions map data #1353
Conversation
… VarZeroVec type parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good so far, with #1357 you won't need the custom ULE type and .get_as_zv()
would need to be changed, but also you might just not need it since ZeroVecULE<T>
has a lot of useful methods already
Branch 'zv-ule' is not yet merged, but simplifies VZV<[T]> into VZV<ZVULE<T>>
…roVecULE and methods
Co-authored-by: Shane F. Carr <shane@unicode.org>
…at were removed before merge to main
…&ZeroSlice w/o referencing fn local data
… from Vec<Vec<u16> to VZV<ZS<Script>>
…th short alias instead of long alias
@@ -321,3 +321,12 @@ impl<T: AsULE> AsRef<ZeroSlice<T>> for Vec<T::ULE> { | |||
ZeroSlice::<T>::from_ule_slice(&**self) | |||
} | |||
} | |||
|
|||
impl<T> Default for &ZeroSlice<T> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @Manishearth : We are adding a impl Default for &ZeroSlice
This PR is progress towards #1271