pub struct LinearGradientTask {
    pub start: DevicePoint,
    pub end: DevicePoint,
    pub scale: DeviceVector2D,
    pub extend_mode: ExtendMode,
    pub stops: GpuBufferAddress,
}Fields§
§start: DevicePoint§end: DevicePoint§scale: DeviceVector2D§extend_mode: ExtendMode§stops: GpuBufferAddressImplementations§
Source§impl LinearGradientTask
 
impl LinearGradientTask
pub fn to_instance(&self, target_rect: &DeviceIntRect) -> LinearGradientInstance
Trait Implementations§
Source§impl Debug for LinearGradientTask
 
impl Debug for LinearGradientTask
Auto Trait Implementations§
impl Freeze for LinearGradientTask
impl RefUnwindSafe for LinearGradientTask
impl Send for LinearGradientTask
impl Sync for LinearGradientTask
impl Unpin for LinearGradientTask
impl UnwindSafe for LinearGradientTask
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more