pub struct EdgePathLabel {
pub point: CanvasPoint,
pub offset_x: f32,
pub offset_y: f32,
}Expand description
Label placement derived from an edge path.
Fields§
§point: CanvasPoint§offset_x: f32§offset_y: f32Trait Implementations§
Source§impl Clone for EdgePathLabel
impl Clone for EdgePathLabel
Source§fn clone(&self) -> EdgePathLabel
fn clone(&self) -> EdgePathLabel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EdgePathLabel
Source§impl Debug for EdgePathLabel
impl Debug for EdgePathLabel
Source§impl PartialEq for EdgePathLabel
impl PartialEq for EdgePathLabel
Source§fn eq(&self, other: &EdgePathLabel) -> bool
fn eq(&self, other: &EdgePathLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EdgePathLabel
Auto Trait Implementations§
impl Freeze for EdgePathLabel
impl RefUnwindSafe for EdgePathLabel
impl Send for EdgePathLabel
impl Sync for EdgePathLabel
impl Unpin for EdgePathLabel
impl UnsafeUnpin for EdgePathLabel
impl UnwindSafe for EdgePathLabel
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