pub struct Gradient {
pub from: String,
pub to: String,
pub angle: f64,
}Expand description
Two-stop linear gradient fill (rpic extension, PSTricks-inspired).
Fields§
§from: String§to: String§angle: f64Angle in degrees, measured in pic coordinates: 0 = left to right,
90 = bottom to top (matching how hatchangle measures).
Trait Implementations§
impl StructuralPartialEq for Gradient
Auto Trait Implementations§
impl Freeze for Gradient
impl RefUnwindSafe for Gradient
impl Send for Gradient
impl Sync for Gradient
impl Unpin for Gradient
impl UnsafeUnpin for Gradient
impl UnwindSafe for Gradient
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