#[repr(C)]pub struct ID2D1ColorContext {
pub lpVtbl: *const ID2D1ColorContextVtbl,
}
Fields§
§lpVtbl: *const ID2D1ColorContextVtbl
Implementations§
Source§impl ID2D1ColorContext
impl ID2D1ColorContext
pub unsafe fn GetColorSpace(&self) -> D2D1_COLOR_SPACE
pub unsafe fn GetProfileSize(&self) -> UINT32
pub unsafe fn GetProfile( &self, profile: *mut BYTE, profileSize: UINT32, ) -> HRESULT
Methods from Deref<Target = ID2D1Resource>§
pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)
Trait Implementations§
Source§impl Deref for ID2D1ColorContext
impl Deref for ID2D1ColorContext
Source§type Target = ID2D1Resource
type Target = ID2D1Resource
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1Resource
fn deref(&self) -> &ID2D1Resource
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1ColorContext
impl RefUnwindSafe for ID2D1ColorContext
impl !Send for ID2D1ColorContext
impl !Sync for ID2D1ColorContext
impl Unpin for ID2D1ColorContext
impl UnwindSafe for ID2D1ColorContext
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