pub struct LinearGradient {
pub angle: Angle,
pub scaled: Option<bool>,
/* private fields */
}Expand description
Linear gradient angle and scaling behavior.
Fields§
§angle: Angle@ang. The schema makes it optional without a default, and a missing
angle reads as 0, a left to right axis, as in LibreOffice’s import.
scaled: Option<bool>Trait Implementations§
Source§impl Clone for LinearGradient
impl Clone for LinearGradient
Source§impl Debug for LinearGradient
impl Debug for LinearGradient
Source§impl Default for LinearGradient
impl Default for LinearGradient
impl Eq for LinearGradient
Source§impl PartialEq for LinearGradient
impl PartialEq for LinearGradient
impl StructuralPartialEq for LinearGradient
Auto Trait Implementations§
impl Freeze for LinearGradient
impl RefUnwindSafe for LinearGradient
impl Send for LinearGradient
impl Sync for LinearGradient
impl Unpin for LinearGradient
impl UnsafeUnpin for LinearGradient
impl UnwindSafe for LinearGradient
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