#[repr(C)]pub struct IPresentationSurface_Vtbl {
pub base__: IPresentationContent_Vtbl,
pub SetBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub SetColorSpace: unsafe extern "system" fn(_: *mut c_void, _: DXGI_COLOR_SPACE_TYPE) -> HRESULT,
pub SetAlphaMode: unsafe extern "system" fn(_: *mut c_void, _: DXGI_ALPHA_MODE) -> HRESULT,
pub SetSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *const RECT) -> HRESULT,
pub SetTransform: unsafe extern "system" fn(_: *mut c_void, _: *const PresentationTransform) -> HRESULT,
pub RestrictToOutput: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub SetDisableReadback: unsafe extern "system" fn(_: *mut c_void, _: u8) -> HRESULT,
pub SetLetterboxingMargins: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: f32, _: f32) -> HRESULT,
}
Fields§
§base__: IPresentationContent_Vtbl
§SetBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§SetColorSpace: unsafe extern "system" fn(_: *mut c_void, _: DXGI_COLOR_SPACE_TYPE) -> HRESULT
§SetAlphaMode: unsafe extern "system" fn(_: *mut c_void, _: DXGI_ALPHA_MODE) -> HRESULT
§SetSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *const RECT) -> HRESULT
§SetTransform: unsafe extern "system" fn(_: *mut c_void, _: *const PresentationTransform) -> HRESULT
§RestrictToOutput: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§SetDisableReadback: unsafe extern "system" fn(_: *mut c_void, _: u8) -> HRESULT
§SetLetterboxingMargins: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: f32, _: f32) -> HRESULT
Implementations§
§impl IPresentationSurface_Vtbl
impl IPresentationSurface_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IPresentationSurface_Vtblwhere
Identity: IPresentationSurface_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IPresentationSurface_Vtbl
impl RefUnwindSafe for IPresentationSurface_Vtbl
impl Send for IPresentationSurface_Vtbl
impl Sync for IPresentationSurface_Vtbl
impl Unpin for IPresentationSurface_Vtbl
impl UnwindSafe for IPresentationSurface_Vtbl
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