#[repr(C)]pub struct ID2D1GradientStopCollection {
pub lpVtbl: *const ID2D1GradientStopCollectionVtbl,
}
Fields§
§lpVtbl: *const ID2D1GradientStopCollectionVtbl
Implementations§
Source§impl ID2D1GradientStopCollection
impl ID2D1GradientStopCollection
pub unsafe fn GetGradientStopCount(&self) -> UINT32
pub unsafe fn GetGradientStops( &self, gradientStops: *mut D2D1_GRADIENT_STOP, gradientStopsCount: UINT32, )
pub unsafe fn GetColorInterpolationGamma(&self) -> D2D1_GAMMA
pub unsafe fn GetExtendMode(&self) -> D2D1_EXTEND_MODE
Methods from Deref<Target = ID2D1Resource>§
pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)
Trait Implementations§
Source§impl Deref for ID2D1GradientStopCollection
impl Deref for ID2D1GradientStopCollection
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 ID2D1GradientStopCollection
impl RefUnwindSafe for ID2D1GradientStopCollection
impl !Send for ID2D1GradientStopCollection
impl !Sync for ID2D1GradientStopCollection
impl Unpin for ID2D1GradientStopCollection
impl UnwindSafe for ID2D1GradientStopCollection
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