Struct webrender_api::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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)