[−][src]Struct pizarra::shape::path::Path
Implementations
impl Path
[src]
pub fn new(color: Color, initial: Point, thickness: f64) -> Path
[src]
pub fn with_params(
color: Color,
commands: Vec<PathCommand>,
thickness: f64
) -> Path
[src]
color: Color,
commands: Vec<PathCommand>,
thickness: f64
) -> Path
impl Path
[src]
Trait Implementations
impl Debug for Path
[src]
impl PartialEq<Path> for Path
[src]
impl ShapeTrait for Path
[src]
pub fn handle_mouse_moved(&mut self, pos: Point)
[src]
pub fn handle_button_pressed(&mut self, _pos: Point)
[src]
pub fn handle_button_released(&mut self, _pos: Point) -> ShapeFinished
[src]
pub fn draw_commands(&self) -> DrawCommand
[src]
pub fn bbox(&self) -> [[f64; 2]; 2]
[src]
pub fn shape_type(&self) -> ShapeType
[src]
pub fn intersects_circle(&self, center: Point, radius: f64) -> bool
[src]
pub fn color(&self) -> Color
[src]
impl StructuralPartialEq for Path
[src]
Auto Trait Implementations
impl RefUnwindSafe for Path
[src]
impl Send for Path
[src]
impl Sync for Path
[src]
impl Unpin for Path
[src]
impl UnwindSafe for Path
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,