pub struct ID2D1GradientStopCollection(/* private fields */);Implementations§
Source§impl ID2D1GradientStopCollection
impl ID2D1GradientStopCollection
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
Trait Implementations§
Source§impl Clone for ID2D1GradientStopCollection
impl Clone for ID2D1GradientStopCollection
Source§fn clone(&self) -> ID2D1GradientStopCollection
fn clone(&self) -> ID2D1GradientStopCollection
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 ID2D1GradientStopCollection
impl Debug for ID2D1GradientStopCollection
Source§impl From<&ID2D1GradientStopCollection> for ID2D1Resource
impl From<&ID2D1GradientStopCollection> for ID2D1Resource
Source§fn from(value: &ID2D1GradientStopCollection) -> Self
fn from(value: &ID2D1GradientStopCollection) -> Self
Converts to this type from the input type.
Source§impl From<&ID2D1GradientStopCollection> for IUnknown
impl From<&ID2D1GradientStopCollection> for IUnknown
Source§fn from(value: &ID2D1GradientStopCollection) -> Self
fn from(value: &ID2D1GradientStopCollection) -> 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<ID2D1GradientStopCollection> for ID2D1Resource
impl From<ID2D1GradientStopCollection> for ID2D1Resource
Source§fn from(value: ID2D1GradientStopCollection) -> Self
fn from(value: ID2D1GradientStopCollection) -> Self
Converts to this type from the input type.
Source§impl From<ID2D1GradientStopCollection> for IUnknown
impl From<ID2D1GradientStopCollection> for IUnknown
Source§fn from(value: ID2D1GradientStopCollection) -> Self
fn from(value: ID2D1GradientStopCollection) -> 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 Interface for ID2D1GradientStopCollection
impl Interface for ID2D1GradientStopCollection
impl Eq for ID2D1GradientStopCollection
impl StructuralPartialEq for ID2D1GradientStopCollection
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