WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Consider optionally owning the xcb connection #2

@vikigenius

Description

@vikigenius

This is a follow up to my post in the Rust Forum

Perhaps it's a good idea to store either Cow<'a, xcb::Connection> instead of &'a xcb::Connection in the ewmh connection Struct or even be generic over AsRef<xcb::Connection> so that it can optionally own the connection ?

I can contribute a PR if you think this is a good idea but don't have time to do this yourself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions