pub struct Adapter1(/* private fields */);Implementations§
Trait Implementations§
Source§impl Interface for Adapter1
impl Interface for Adapter1
type APIType = IDXGIAdapter1
fn new(p: ComPtr<Self::APIType>) -> Self
fn uuidof() -> Guid
fn as_ptr(&self) -> *mut Self::APIType
fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
fn as_unknown(&self) -> *mut IUnknown
fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
fn query_interface<T: Interface>(&self) -> Result<T, HResult>
impl Eq for Adapter1
impl Send for Adapter1
impl StructuralPartialEq for Adapter1
impl Sync for Adapter1
Auto Trait Implementations§
impl Freeze for Adapter1
impl RefUnwindSafe for Adapter1
impl Unpin for Adapter1
impl UnsafeUnpin for Adapter1
impl UnwindSafe for Adapter1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more