pub struct AreaMark {Show 17 fields
pub name: String,
pub clip: bool,
pub len: u32,
pub orientation: AreaOrientation,
pub gradients: Vec<Gradient>,
pub x: EncodingValue<f32>,
pub y: EncodingValue<f32>,
pub x2: EncodingValue<f32>,
pub y2: EncodingValue<f32>,
pub defined: EncodingValue<bool>,
pub fill: ColorOrGradient,
pub stroke: ColorOrGradient,
pub stroke_width: f32,
pub stroke_cap: StrokeCap,
pub stroke_join: StrokeJoin,
pub stroke_dash: Option<Vec<f32>>,
pub zindex: Option<i32>,
}Fields§
§name: String§clip: bool§len: u32§orientation: AreaOrientation§gradients: Vec<Gradient>§x: EncodingValue<f32>§y: EncodingValue<f32>§x2: EncodingValue<f32>§y2: EncodingValue<f32>§defined: EncodingValue<bool>§fill: ColorOrGradient§stroke: ColorOrGradient§stroke_width: f32§stroke_cap: StrokeCap§stroke_join: StrokeJoin§stroke_dash: Option<Vec<f32>>§zindex: Option<i32>Implementations§
source§impl AreaMark
impl AreaMark
pub fn x_iter(&self) -> Box<dyn Iterator<Item = &f32> + '_>
pub fn y_iter(&self) -> Box<dyn Iterator<Item = &f32> + '_>
pub fn x2_iter(&self) -> Box<dyn Iterator<Item = &f32> + '_>
pub fn y2_iter(&self) -> Box<dyn Iterator<Item = &f32> + '_>
pub fn defined_iter(&self) -> Box<dyn Iterator<Item = &bool> + '_>
Trait Implementations§
source§impl<'de> Deserialize<'de> for AreaMark
impl<'de> Deserialize<'de> for AreaMark
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AreaMark
impl Send for AreaMark
impl Sync for AreaMark
impl Unpin for AreaMark
impl UnwindSafe for AreaMark
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