pub struct LabelOffset {
pub x: f64,
pub y: f64,
}Expand description
The horizontal and vertical placement of a label relative to its anchor.
Fields§
§x: f64The horizontal offset, in pixels.
y: f64The vertical offset, in pixels.
Trait Implementations§
Source§impl Clone for LabelOffset
impl Clone for LabelOffset
impl Copy for LabelOffset
Source§impl Debug for LabelOffset
impl Debug for LabelOffset
Source§impl Default for LabelOffset
impl Default for LabelOffset
Source§impl PartialEq for LabelOffset
impl PartialEq for LabelOffset
impl StructuralPartialEq for LabelOffset
Auto Trait Implementations§
impl Freeze for LabelOffset
impl RefUnwindSafe for LabelOffset
impl Send for LabelOffset
impl Sync for LabelOffset
impl Unpin for LabelOffset
impl UnsafeUnpin for LabelOffset
impl UnwindSafe for LabelOffset
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