[−][src]Struct dxplr::dxgi::OutputDuplication
Trait Implementations
impl Clone for OutputDuplication
[src]
pub fn clone(&self) -> OutputDuplication
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OutputDuplication
[src]
impl Eq for OutputDuplication
[src]
impl IOutputDuplication for OutputDuplication
[src]
pub fn acquire_next_frame(
&self,
timeout_in_ms: u32
) -> Result<(OutduplFrameInfo, Resource), HResult>
[src]
&self,
timeout_in_ms: u32
) -> Result<(OutduplFrameInfo, Resource), HResult>
pub fn get_desc(&self) -> OutduplDesc
[src]
pub fn get_frame_dirty_rects(
&self,
buffer: &mut Vec<Rect<i32>>
) -> Result<(), HResult>
[src]
&self,
buffer: &mut Vec<Rect<i32>>
) -> Result<(), HResult>
pub fn get_frame_move_rects(
&self,
buffer: &mut Vec<OutduplMoveRect>
) -> Result<(), HResult>
[src]
&self,
buffer: &mut Vec<OutduplMoveRect>
) -> Result<(), HResult>
pub fn get_frame_pointer_shape(
&self,
buffer: &mut Vec<u8>
) -> Result<OutduplPointerShapeInfo, HResult>
[src]
&self,
buffer: &mut Vec<u8>
) -> Result<OutduplPointerShapeInfo, HResult>
pub fn map_desktop_surface(&self) -> Result<MappedRect, HResult>
[src]
pub fn release_frame(&self) -> Result<(), HResult>
[src]
pub fn unmap_desktop_surface(&self) -> Result<(), HResult>
[src]
impl Interface for OutputDuplication
[src]
type APIType = IDXGIOutputDuplication
pub fn new(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn uuidof() -> Guid
[src]
pub fn as_ptr(&self) -> *mut Self::APIType
[src]
pub fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
pub fn as_unknown(&self) -> *mut IUnknown
[src]
pub fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl PartialEq<OutputDuplication> for OutputDuplication
[src]
pub fn eq(&self, other: &OutputDuplication) -> bool
[src]
pub fn ne(&self, other: &OutputDuplication) -> bool
[src]
impl Send for OutputDuplication
[src]
impl StructuralEq for OutputDuplication
[src]
impl StructuralPartialEq for OutputDuplication
[src]
impl Sync for OutputDuplication
[src]
Auto Trait Implementations
impl RefUnwindSafe for OutputDuplication
impl Unpin for OutputDuplication
impl UnwindSafe for OutputDuplication
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,