Struct webrender_api::Gradient
[−]
[src]
pub struct Gradient { pub start_point: LayoutPoint, pub end_point: LayoutPoint, pub extend_mode: ExtendMode, }
Fields
start_point: LayoutPoint
end_point: LayoutPoint
extend_mode: ExtendMode
Trait Implementations
impl Clone for Gradient
[src]
fn clone(&self) -> Gradient
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Gradient
[src]
impl Debug for Gradient
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more