pub struct Factory1(/* private fields */);Implementations§
Trait Implementations§
Source§impl IFactory for Factory1
impl IFactory for Factory1
fn create_software_adapter(&self, module: HMODULE) -> Result<Adapter, HResult>
fn create_swap_chain<T: Interface>( &self, device: &T, desc: &SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, Usage, u32, *const c_void, bool, SwapEffect>, ) -> Result<SwapChain, HResult>
fn enum_adapters(&self) -> Result<Vec<Adapter>, HResult>
fn get_window_association(&self) -> Result<HWND, HResult>
fn make_window_association( &self, hwnd: &impl WindowHandle, flags: Option<MakeWindowAssociationFlag>, ) -> Result<(), HResult>
Source§impl Interface for Factory1
impl Interface for Factory1
type APIType = IDXGIFactory1
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 Factory1
impl Send for Factory1
impl StructuralPartialEq for Factory1
impl Sync for Factory1
Auto Trait Implementations§
impl Freeze for Factory1
impl RefUnwindSafe for Factory1
impl Unpin for Factory1
impl UnsafeUnpin for Factory1
impl UnwindSafe for Factory1
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