[−][src]Struct dxplr::dxgi::Surface2
Methods
impl Surface2
[src]
pub fn as_surface(&self) -> Surface
[src]
Trait Implementations
impl Clone for Surface2
[src]
impl Debug for Surface2
[src]
impl Eq for Surface2
[src]
impl ISurface for Surface2
[src]
fn get_desc(&self) -> Result<SurfaceDesc, HResult>
[src]
fn map(&self, flags: MapFlags) -> Result<MappedRect, HResult>
[src]
fn unmap(&self) -> Result<(), HResult>
[src]
impl ISurface1 for Surface2
[src]
fn get_dc(&self, discard: bool) -> Result<HDC, HResult>
[src]
fn release_dc(&self, dirty_rect: Option<Rect<i32>>) -> Result<(), HResult>
[src]
impl ISurface2 for Surface2
[src]
impl Interface for Surface2
[src]
type APIType = IDXGISurface2
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<Surface2> for Surface2
[src]
impl Send for Surface2
[src]
impl StructuralEq for Surface2
[src]
impl StructuralPartialEq for Surface2
[src]
impl Sync for Surface2
[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>,