Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Add a VariantIter type, and Variant::iter() method #683

Merged
merged 1 commit into from
Sep 7, 2020

Conversation

ids1024
Copy link
Contributor

@ids1024 ids1024 commented Sep 4, 2020

#682.

@ids1024
Copy link
Contributor Author

ids1024 commented Sep 7, 2020

I've updated to an implementation using g_variant_get_child_value(), which now implements ExactSizeIterator.

src/variant_iter.rs Outdated Show resolved Hide resolved
Copy link
Member

@sdroege sdroege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me apart from those little details :) Thanks!

Copy link
Member

@sdroege sdroege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will merge once the CI is through

@sdroege sdroege merged commit b02fb43 into gtk-rs:master Sep 7, 2020
@ids1024 ids1024 deleted the iter branch September 8, 2020 03:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants