pub struct ID2D1GradientStopCollection1(/* private fields */);Implementations§
Source§impl ID2D1GradientStopCollection1
impl ID2D1GradientStopCollection1
pub unsafe fn GetFactory(&self, factory: *mut Option<ID2D1Factory>)
pub unsafe fn GetGradientStopCount(&self) -> u32
pub unsafe fn GetGradientStops( &self, gradientstops: *mut D2D1_GRADIENT_STOP, gradientstopscount: u32, )
pub unsafe fn GetColorInterpolationGamma(&self) -> D2D1_GAMMA
pub unsafe fn GetExtendMode(&self) -> D2D1_EXTEND_MODE
pub unsafe fn GetGradientStops1( &self, gradientstops: *mut D2D1_GRADIENT_STOP, gradientstopscount: u32, )
pub unsafe fn GetPreInterpolationSpace(&self) -> D2D1_COLOR_SPACE
pub unsafe fn GetPostInterpolationSpace(&self) -> D2D1_COLOR_SPACE
pub unsafe fn GetBufferPrecision(&self) -> D2D1_BUFFER_PRECISION
pub unsafe fn GetColorInterpolationMode(&self) -> D2D1_COLOR_INTERPOLATION_MODE
Trait Implementations§
Source§impl Clone for ID2D1GradientStopCollection1
impl Clone for ID2D1GradientStopCollection1
Source§fn clone(&self) -> ID2D1GradientStopCollection1
fn clone(&self) -> ID2D1GradientStopCollection1
Returns a duplicate 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 moreSource§impl Debug for ID2D1GradientStopCollection1
impl Debug for ID2D1GradientStopCollection1
Source§impl From<&ID2D1GradientStopCollection1> for ID2D1GradientStopCollection
impl From<&ID2D1GradientStopCollection1> for ID2D1GradientStopCollection
Source§fn from(value: &ID2D1GradientStopCollection1) -> Self
fn from(value: &ID2D1GradientStopCollection1) -> Self
Converts to this type from the input type.
Source§impl From<&ID2D1GradientStopCollection1> for ID2D1Resource
impl From<&ID2D1GradientStopCollection1> for ID2D1Resource
Source§fn from(value: &ID2D1GradientStopCollection1) -> Self
fn from(value: &ID2D1GradientStopCollection1) -> Self
Converts to this type from the input type.
Source§impl From<&ID2D1GradientStopCollection1> for IUnknown
impl From<&ID2D1GradientStopCollection1> for IUnknown
Source§fn from(value: &ID2D1GradientStopCollection1) -> Self
fn from(value: &ID2D1GradientStopCollection1) -> Self
Converts to this type from the input type.
Source§impl From<ID2D1GradientStopCollection1> for ID2D1GradientStopCollection
impl From<ID2D1GradientStopCollection1> for ID2D1GradientStopCollection
Source§fn from(value: ID2D1GradientStopCollection1) -> Self
fn from(value: ID2D1GradientStopCollection1) -> Self
Converts to this type from the input type.
Source§impl From<ID2D1GradientStopCollection1> for ID2D1Resource
impl From<ID2D1GradientStopCollection1> for ID2D1Resource
Source§fn from(value: ID2D1GradientStopCollection1) -> Self
fn from(value: ID2D1GradientStopCollection1) -> Self
Converts to this type from the input type.
Source§impl From<ID2D1GradientStopCollection1> for IUnknown
impl From<ID2D1GradientStopCollection1> for IUnknown
Source§fn from(value: ID2D1GradientStopCollection1) -> Self
fn from(value: ID2D1GradientStopCollection1) -> Self
Converts to this type from the input type.
Source§impl Interface for ID2D1GradientStopCollection1
impl Interface for ID2D1GradientStopCollection1
Source§impl PartialEq for ID2D1GradientStopCollection1
impl PartialEq for ID2D1GradientStopCollection1
Source§fn eq(&self, other: &ID2D1GradientStopCollection1) -> bool
fn eq(&self, other: &ID2D1GradientStopCollection1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ID2D1GradientStopCollection1
impl StructuralPartialEq for ID2D1GradientStopCollection1
Auto Trait Implementations§
impl Freeze for ID2D1GradientStopCollection1
impl RefUnwindSafe for ID2D1GradientStopCollection1
impl !Send for ID2D1GradientStopCollection1
impl !Sync for ID2D1GradientStopCollection1
impl Unpin for ID2D1GradientStopCollection1
impl UnwindSafe for ID2D1GradientStopCollection1
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