[−][src]Struct dxplr::dxgi::Factory
Trait Implementations
impl Clone for Factory
[src]
impl Debug for Factory
[src]
impl Eq for Factory
[src]
impl IFactory for Factory
[src]
fn create_software_adapter(&self, module: HMODULE) -> Result<Adapter, HResult>
[src]
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>
[src]
&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>
[src]
fn get_window_association(&self) -> Result<HWND, HResult>
[src]
fn make_window_association(
&self,
hwnd: &impl WindowHandle,
flags: Option<MakeWindowAssociationFlag>
) -> Result<(), HResult>
[src]
&self,
hwnd: &impl WindowHandle,
flags: Option<MakeWindowAssociationFlag>
) -> Result<(), HResult>
impl Interface for Factory
[src]
type APIType = IDXGIFactory
fn new(p: ComPtr<Self::APIType>) -> Self
[src]
fn uuidof() -> Guid
[src]
fn as_ptr(&self) -> *mut Self::APIType
[src]
fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
fn as_unknown(&self) -> *mut IUnknown
[src]
fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl PartialEq<Factory> for Factory
[src]
impl Send for Factory
[src]
impl StructuralEq for Factory
[src]
impl StructuralPartialEq for Factory
[src]
impl Sync for Factory
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,