var searchIndex = {}; searchIndex["objc_id"] = {"doc":"Rust smart pointers for Objective-C reference counting.","items":[[3,"Id","objc_id","A pointer type for Objective-C's reference counted objects.",null,null],[3,"WeakId","","A pointer type for a weak reference to an Objective-C reference counted\nobject.",null,null],[4,"Owned","","A type used to mark that a struct owns the object(s) it contains,\nso it has the sole references to them.",null,null],[4,"Shared","","A type used to mark that the object(s) a struct contains are shared,\nso there may be other references to them.",null,null],[11,"from_ptr","","Constructs an `Id` from a pointer to an unretained object and\nretains it. Panics if the pointer is null.\nUnsafe because the pointer must be to a valid object and\nthe caller must ensure the ownership is correct.",0,null],[11,"from_retained_ptr","","Constructs an `Id` from a pointer to a retained object; this won't\nretain the pointer, so the caller must ensure the object has a +1\nretain count. Panics if the pointer is null.\nUnsafe because the pointer must be to a valid object and\nthe caller must ensure the ownership is correct.",0,null],[11,"share","",""Downgrade" an owned `Id` to a `ShareId`, allowing it to be cloned.",0,null],[11,"clone","","",0,null],[11,"deref","","",0,null],[11,"deref_mut","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"hash","","",0,null],[11,"fmt","","",0,null],[11,"fmt","","",0,null],[11,"new","","Construct a new `WeakId` referencing the given `ShareId`.",1,{"inputs":[{"name":"shareid"}],"output":{"name":"weakid"}}],[11,"load","","Load a `ShareId` from the `WeakId` if the object still exists.\nReturns `None` if the object has been deallocated.",1,null],[6,"ShareId","","A convenient alias for a shared `Id`.",null,null],[8,"Ownership","","A type that marks what type of ownership a struct has over the object(s)\nit contains; specifically, either `Owned` or `Shared`.",null,null]],"paths":[[3,"Id"],[3,"WeakId"]]}; initSearch(searchIndex);