pub struct GradientContext { /* private fields */ }Expand description
Auto-cleaning gradient context using RAII
Implementations§
Source§impl GradientContext
impl GradientContext
pub fn new() -> GradientContext
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GradientContext
impl RefUnwindSafe for GradientContext
impl Send for GradientContext
impl Sync for GradientContext
impl Unpin for GradientContext
impl UnwindSafe for GradientContext
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