Home
last modified time | relevance | path

Searched refs:ComPtr (Results 176 – 200 of 3242) sorted by relevance

12345678910>>...130

/dports/net-im/fractal/fractal-4.4.0/vendor/cc/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/devel/gitui/gitui-0.10.1/cargo-crates/cc-1.0.58/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/cc-1.0.72/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/devel/grcov/grcov-0.8.2/cargo-crates/cc-1.0.68/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/security/acmed/acmed-0.18.0/cargo-crates/cc-1.0.72/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/cc-1.0.67/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/devel/tokei/tokei-12.1.2/cargo-crates/cc-1.0.54/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/www/websocat/websocat-1.9.0/cargo-crates/cc-1.0.71/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/cc-1.0.68/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/textproc/jql/jql-3.0.6/cargo-crates/cc-1.0.72/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/sysutils/mcfly/mcfly-0.5.11/cargo-crates/cc-1.0.52/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/cc-1.0.72/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/www/xh/xh-0.14.1/cargo-crates/cc-1.0.70/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/sysutils/potnet/potnet-0.4.4/cargo-crates/cc-1.0.45/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/www/zola/zola-0.15.2/cargo-crates/cc-1.0.72/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/cc-1.0.69/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/x11/inputplug/inputplug-0.4.0/cargo-crates/cc-1.0.70/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/cc-1.0.70/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/cc-1.0.71/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/gcc-0.3.55/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) where T: Interface; struct
34 impl<T> ComPtr<T> where T: Interface { impl
38 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
40 ComPtr(ptr) in from_raw()
44 ComPtr(self.into_raw() as *mut U) in up()
58 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> where U: Interface { in cast()
62 Ok(unsafe { ComPtr::from_raw(obj as *mut U) }) in cast()
65 impl<T> Deref for ComPtr<T> where T: Interface { implementation
71 impl<T> Clone for ComPtr<T> where T: Interface { implementation
75 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/cc-1.0.69/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/devel/dtool/dtool-0.11.0/cargo-crates/cc-1.0.70/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> implementation
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/devel/dtool/dtool-0.11.0/cargo-crates/gcc-0.3.55/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) where T: Interface; struct
34 impl<T> ComPtr<T> where T: Interface { implementation
38 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
40 ComPtr(ptr) in from_raw()
44 ComPtr(self.into_raw() as *mut U) in up()
58 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> where U: Interface { in cast()
62 Ok(unsafe { ComPtr::from_raw(obj as *mut U) }) in cast()
65 impl<T> Deref for ComPtr<T> where T: Interface { implementation
71 impl<T> Clone for ComPtr<T> where T: Interface { implementation
75 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/cc/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/cc-1.0.72/src/
H A Dcom.rs33 pub struct ComPtr<T>(*mut T) struct
36 impl<T> ComPtr<T> impl
43 pub unsafe fn from_raw(ptr: *mut T) -> ComPtr<T> { in from_raw()
45 ComPtr(ptr) in from_raw()
48 pub fn up<U>(self) -> ComPtr<U> in up()
53 ComPtr(self.into_raw() as *mut U) in up()
67 pub fn cast<U>(&self) -> Result<ComPtr<U>, i32> in cast()
79 impl<T> Deref for ComPtr<T> implementation
88 impl<T> Clone for ComPtr<T> implementation
95 ComPtr::from_raw(self.0) in clone()
[all …]

12345678910>>...130