pub struct Shading {
pub shading_type: Arc<ShadingType>,
pub color_space: ColorSpace,
pub clip_path: Option<BezPath>,
pub background: Option<SmallVec<[f32; 4]>>,
/* private fields */
}Expand description
A PDF shading.
Fields§
§shading_type: Arc<ShadingType>The type of shading.
color_space: ColorSpaceThe color space of the shading.
clip_path: Option<BezPath>A clip path that should be applied to the shading.
background: Option<SmallVec<[f32; 4]>>The background color of the shading.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shading
impl !RefUnwindSafe for Shading
impl Send for Shading
impl Sync for Shading
impl Unpin for Shading
impl !UnwindSafe for Shading
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