pub struct PointConfig { /* private fields */ }
Implementations§
Source§impl PointConfig
impl PointConfig
pub fn with_radius(self, radius: u16) -> Self
pub fn with_point_style(self, style: PointStyle) -> Self
pub fn with_rotation(self, rotation: u16) -> Self
pub fn with_border_color(self, color: Rgb) -> Self
pub fn with_background_color(self, color: Rgb) -> Self
pub fn with_border_width(self, width: u16) -> Self
pub fn with_hover_radius(self, radius: u16) -> Self
pub fn with_hit_radius(self, radius: u16) -> Self
pub fn with_hover_border_width(self, width: u16) -> Self
Trait Implementations§
Source§impl Clone for PointConfig
impl Clone for PointConfig
Source§fn clone(&self) -> PointConfig
fn clone(&self) -> PointConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PointConfig
impl Debug for PointConfig
Source§impl Default for PointConfig
impl Default for PointConfig
Auto Trait Implementations§
impl Freeze for PointConfig
impl RefUnwindSafe for PointConfig
impl Send for PointConfig
impl Sync for PointConfig
impl Unpin for PointConfig
impl UnwindSafe for PointConfig
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