Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SSheldon/rust-objc
/ weak
Method
weak
src/rc/strong.rs:40–42 ·
view source on GitHub ↗
Returns a `WeakPtr` to self.
(&self)
Source
from the content-addressed store, hash-verified
38
39
/// Returns a `WeakPtr` to self.
40
pub fn weak(&self) -> WeakPtr {
41
unsafe { WeakPtr::new(self.0) }
42
}
43
}
44
45
impl Drop for StrongPtr {
Callers
2
test_weak
Function · 0.80
test_weak_copy
Function · 0.80
Calls
no outgoing calls
Tested by
2
test_weak
Function · 0.64
test_weak_copy
Function · 0.64