rust-objc-id icon indicating copy to clipboard operation
rust-objc-id copied to clipboard

Rust smart pointers for Objective-C reference counting.

Results 8 rust-objc-id issues
Sort by recently updated
recently updated
newest added

See comments in the code for reasoning. The impl for `Id` is the same as `Arc`, the impl for `Id` is the same as `Box` and the impl for `WeakId`...

this PR adds a license file taken from rust https://github.com/rust-lang/rust/blob/master/LICENSE-MIT and closes #6. @SSheldon I'm happy to get any feedback or review.

For packaging of downstream packages it would be nice to have a dedicated license which is used to gather all licenses of all depencies and repackage these license files.

It's pretty perilous to accidentally create multiple owned Ids for the same instance of an object. Maybe when an owned Id is created in Rust, we could set a flag...

This is purely an ergonomic issue and therefore subjective, and it's also a breaking change. But since you're still at 0.1 this seems like a good time for this kind...

There used to be an `IdSlice` trait for doing this, but it was removed in SSheldon/rust-objc@4118e96. This isn't possible until rust-lang/rust#5016 is completed, because until then an `Id` is a...

This issue was automatically generated. Feel free to close without ceremony if you do not agree with re-licensing or if it is not possible for other reasons. Respond to @cmr...

Since `Id`s will never be null, the representation of `Option` can take advantage of this to be the same size as an `Id`. Doing this requires the `NonZero` struct, which...