Struct windows::Win32::Graphics::Direct3D9::IDirect3DIndexBuffer9
pub struct IDirect3DIndexBuffer9(/* private fields */);
Implementations§
§impl IDirect3DIndexBuffer9
impl IDirect3DIndexBuffer9
pub unsafe fn GetDevice(&self) -> Result<IDirect3DDevice9>
pub unsafe fn SetPrivateData( &self, refguid: *const GUID, pdata: *const c_void, sizeofdata: u32, flags: u32 ) -> Result<()>
pub unsafe fn GetPrivateData( &self, refguid: *const GUID, pdata: *mut c_void, psizeofdata: *mut u32 ) -> Result<()>
pub unsafe fn FreePrivateData(&self, refguid: *const GUID) -> Result<()>
pub unsafe fn SetPriority(&self, prioritynew: u32) -> u32
pub unsafe fn GetPriority(&self) -> u32
pub unsafe fn PreLoad(&self)
pub unsafe fn GetType(&self) -> D3DRESOURCETYPE
pub unsafe fn Lock( &self, offsettolock: u32, sizetolock: u32, ppbdata: *mut *mut c_void, flags: u32 ) -> Result<()>
pub unsafe fn Unlock(&self) -> Result<()>
pub unsafe fn GetDesc(&self, pdesc: *mut D3DINDEXBUFFER_DESC) -> Result<()>
Trait Implementations§
§impl Clone for IDirect3DIndexBuffer9
impl Clone for IDirect3DIndexBuffer9
§fn clone(&self) -> IDirect3DIndexBuffer9
fn clone(&self) -> IDirect3DIndexBuffer9
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDirect3DIndexBuffer9
impl Debug for IDirect3DIndexBuffer9
§impl From<&IDirect3DIndexBuffer9> for &IDirect3DResource9
impl From<&IDirect3DIndexBuffer9> for &IDirect3DResource9
§fn from(value: &IDirect3DIndexBuffer9) -> Self
fn from(value: &IDirect3DIndexBuffer9) -> Self
Converts to this type from the input type.
§impl From<&IDirect3DIndexBuffer9> for &IUnknown
impl From<&IDirect3DIndexBuffer9> for &IUnknown
§fn from(value: &IDirect3DIndexBuffer9) -> Self
fn from(value: &IDirect3DIndexBuffer9) -> Self
Converts to this type from the input type.
§impl From<IDirect3DIndexBuffer9> for IDirect3DResource9
impl From<IDirect3DIndexBuffer9> for IDirect3DResource9
§fn from(value: IDirect3DIndexBuffer9) -> Self
fn from(value: IDirect3DIndexBuffer9) -> Self
Converts to this type from the input type.
§impl From<IDirect3DIndexBuffer9> for IUnknown
impl From<IDirect3DIndexBuffer9> for IUnknown
§fn from(value: IDirect3DIndexBuffer9) -> Self
fn from(value: IDirect3DIndexBuffer9) -> Self
Converts to this type from the input type.
§impl Interface for IDirect3DIndexBuffer9
impl Interface for IDirect3DIndexBuffer9
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IDirect3DIndexBuffer9
impl PartialEq for IDirect3DIndexBuffer9
§fn eq(&self, other: &IDirect3DIndexBuffer9) -> bool
fn eq(&self, other: &IDirect3DIndexBuffer9) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDirect3DIndexBuffer9
impl StructuralPartialEq for IDirect3DIndexBuffer9
Auto Trait Implementations§
impl RefUnwindSafe for IDirect3DIndexBuffer9
impl !Send for IDirect3DIndexBuffer9
impl !Sync for IDirect3DIndexBuffer9
impl Unpin for IDirect3DIndexBuffer9
impl UnwindSafe for IDirect3DIndexBuffer9
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