Struct webrender_api::display_item::ConicGradient
source · pub struct ConicGradient {
pub center: LayoutPoint,
pub angle: f32,
pub start_offset: f32,
pub end_offset: f32,
pub extend_mode: ExtendMode,
}
Fields§
§center: LayoutPoint
§angle: f32
§start_offset: f32
§end_offset: f32
§extend_mode: ExtendMode
Implementations§
Trait Implementations§
source§impl Clone for ConicGradient
impl Clone for ConicGradient
source§fn clone(&self) -> ConicGradient
fn clone(&self) -> ConicGradient
Returns a copy 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 ConicGradient
impl Debug for ConicGradient
source§impl Default for ConicGradient
impl Default for ConicGradient
source§fn default() -> ConicGradient
fn default() -> ConicGradient
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConicGradient
impl<'de> Deserialize<'de> for ConicGradient
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ConicGradient
impl PartialEq for ConicGradient
source§fn eq(&self, other: &ConicGradient) -> bool
fn eq(&self, other: &ConicGradient) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for ConicGradient
impl Peek for ConicGradient
source§impl Poke for ConicGradient
impl Poke for ConicGradient
source§impl Serialize for ConicGradient
impl Serialize for ConicGradient
impl Copy for ConicGradient
impl StructuralPartialEq for ConicGradient
Auto Trait Implementations§
impl Freeze for ConicGradient
impl RefUnwindSafe for ConicGradient
impl Send for ConicGradient
impl Sync for ConicGradient
impl Unpin for ConicGradient
impl UnwindSafe for ConicGradient
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