pub struct GradientStopList { /* private fields */ }Implementations§
Source§impl GradientStopList
impl GradientStopList
pub fn get_gradient_stop(&self) -> &[GradientStop]
pub fn get_gradient_stop_mut(&mut self) -> &mut ThinVec<GradientStop>
pub fn set_gradient_stop( &mut self, value: impl Into<ThinVec<GradientStop>>, ) -> &mut GradientStopList
pub fn add_gradient_stop( &mut self, value: GradientStop, ) -> &mut GradientStopList
Trait Implementations§
Source§impl Clone for GradientStopList
impl Clone for GradientStopList
Source§fn clone(&self) -> GradientStopList
fn clone(&self) -> GradientStopList
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 GradientStopList
impl Debug for GradientStopList
Source§impl Default for GradientStopList
impl Default for GradientStopList
Source§fn default() -> GradientStopList
fn default() -> GradientStopList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GradientStopList
impl RefUnwindSafe for GradientStopList
impl Send for GradientStopList
impl Sync for GradientStopList
impl Unpin for GradientStopList
impl UnwindSafe for GradientStopList
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