Skip to content
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

Extend value sequence implementations #376

Merged
merged 2 commits into from Jun 24, 2023
Merged

Conversation

Enet4
Copy link
Owner

@Enet4 Enet4 commented Jun 24, 2023

  • Extend impls for DataSetSequence to facilitate constructing nested data sets without an explicitly defined length.
    • impl From<Vec<I>>, From<SmallVec<A>> aand From<[I; 1]> for DataSetSequence<I>
    • Function DataSetSequence::empty
  • Add impl From<(table, fragments)> for PixelFragmentSequence

- Provide conversions from Vec<I>, SmallVec<A>, and [I; 1]
- Add empty() function
Add From<(T, F)> for table and fragments.
@Enet4 Enet4 added A-lib Area: library C-core Crate: dicom-core labels Jun 24, 2023
@Enet4 Enet4 merged commit 81f16fe into master Jun 24, 2023
4 checks passed
@Enet4 Enet4 deleted the imp/core/dataset-seq-from-vec branch June 24, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lib Area: library C-core Crate: dicom-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant