pub struct EuvChartCustomDrawContext { /* private fields */ }Expand description
Read-only coordinate and theme context passed into a custom series painter callback.
Implementations§
Source§impl EuvChartCustomDrawContext
Accessors for EuvChartCustomDrawContext.
impl EuvChartCustomDrawContext
Accessors for EuvChartCustomDrawContext.
Source§impl EuvChartCustomDrawContext
impl EuvChartCustomDrawContext
pub fn get_plot_rect(&self) -> Rect
pub fn get_mut_plot_rect(&mut self) -> &mut Rect
pub fn set_plot_rect(&mut self, val: Rect) -> &mut Self
pub fn get_x_min(&self) -> f32
pub fn get_mut_x_min(&mut self) -> &mut f32
pub fn set_x_min(&mut self, val: f32) -> &mut Self
pub fn get_x_max(&self) -> f32
pub fn get_mut_x_max(&mut self) -> &mut f32
pub fn set_x_max(&mut self, val: f32) -> &mut Self
pub fn get_y_min(&self) -> f32
pub fn get_mut_y_min(&mut self) -> &mut f32
pub fn set_y_min(&mut self, val: f32) -> &mut Self
pub fn get_y_max(&self) -> f32
pub fn get_mut_y_max(&mut self) -> &mut f32
pub fn set_y_max(&mut self, val: f32) -> &mut Self
pub fn get_palette(&self) -> &Vec<Color>
pub fn get_mut_palette(&mut self) -> &mut Vec<Color>
pub fn set_palette(&mut self, val: Vec<Color>) -> &mut Self
pub fn get_tokens(&self) -> ThemeTokens
pub fn get_mut_tokens(&mut self) -> &mut ThemeTokens
pub fn set_tokens(&mut self, val: ThemeTokens) -> &mut Self
pub fn get_mut_hover_pos(&mut self) -> &mut Option<Point>
pub fn set_hover_pos(&mut self, val: Option<Point>) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvChartCustomDrawContext
impl Clone for EuvChartCustomDrawContext
Source§impl Debug for EuvChartCustomDrawContext
impl Debug for EuvChartCustomDrawContext
impl StructuralPartialEq for EuvChartCustomDrawContext
Auto Trait Implementations§
impl Forget for EuvChartCustomDrawContext
impl Freeze for EuvChartCustomDrawContext
impl Move for EuvChartCustomDrawContext
impl RefUnwindSafe for EuvChartCustomDrawContext
impl Send for EuvChartCustomDrawContextwhere
RawVecInner: Send,
impl Sync for EuvChartCustomDrawContextwhere
RawVecInner: Sync,
impl Unpin for EuvChartCustomDrawContext
impl UnsafeUnpin for EuvChartCustomDrawContext
impl UnwindSafe for EuvChartCustomDrawContextwhere
RawVecInner: UnwindSafe,
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