Home
last modified time | relevance | path

Searched refs:StackRef (Results 1 - 1 of 1) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dstack.rs32 pub(crate) struct StackRef<T: Stackof>(ForeignRefWrapper, PhantomData<T>);
38 unsafe impl<T: Stackof + Send> Send for StackRef<T> {}
40 unsafe impl<T: Stackof + Sync> Sync for StackRef<T> {}
43 type Target = StackRef<T>;
45 fn deref(&self) -> &StackRef<T> { in deref()
46 unsafe { StackRef::from_ptr(self.0) } in deref()
51 fn deref_mut(&mut self) -> &mut StackRef<T> { in deref_mut()
52 unsafe { StackRef::from_ptr_mut(self.0) } in deref_mut()
56 impl<T: Stackof> AsRef<StackRef<T>> for Stack<T> {
57 fn as_ref(&self) -> &StackRef<
101 impl<T: Stackof> StackRef<T> { global() impls
122 impl<T: Stackof> StackRef<T> { global() impls
[all...]

Completed in 1 milliseconds