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

Implement common traits for Layer #18

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Implement common traits for Layer #18

merged 2 commits into from
Sep 4, 2024

Conversation

madsmtm
Copy link
Member

@madsmtm madsmtm commented Sep 4, 2024

Implement Debug, Clone, PartialEq, Eq, Hash, Send, Sync, UnwindSafe and RefUnwindSafe for Layer.

Debug, Clone, PartialEq, Eq, Hash, Send, Sync, UnwindSafe and
RefUnwindSafe.
@madsmtm madsmtm added the enhancement New feature or request label Sep 4, 2024
src/lib.rs Outdated Show resolved Hide resolved
Comment on lines +6 to -8
use core::ffi::c_void;
use core::hash;
use core::panic::{RefUnwindSafe, UnwindSafe};
use objc2::rc::Retained;
use objc2_quartz_core::CAMetalLayer;
use std::ffi::c_void;
Copy link
Member

Choose a reason for hiding this comment

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

Can we #![no_std]?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really yet, objc2 isn't #![no_std].

@madsmtm madsmtm merged commit f6bf653 into master Sep 4, 2024
4 checks passed
@MarijnS95 MarijnS95 deleted the common-traits branch September 4, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants