pub struct LabelLayoutOption {
pub hide_overlap: bool,
pub move_tolerance: Option<f64>,
pub label_line_lengths: Option<Vec<f64>>,
}Expand description
The rules that move labels out of each other’s way.
Fields§
§hide_overlap: boolWhether the layout runs.
move_tolerance: Option<f64>The horizontal drift allowed when hiding overlaps, in pixels.
label_line_lengths: Option<Vec<f64>>The label fields that participate in the layout.
Trait Implementations§
Source§impl Clone for LabelLayoutOption
impl Clone for LabelLayoutOption
Source§impl Debug for LabelLayoutOption
impl Debug for LabelLayoutOption
Source§impl Default for LabelLayoutOption
impl Default for LabelLayoutOption
Source§impl PartialEq for LabelLayoutOption
impl PartialEq for LabelLayoutOption
impl StructuralPartialEq for LabelLayoutOption
Auto Trait Implementations§
impl Freeze for LabelLayoutOption
impl RefUnwindSafe for LabelLayoutOption
impl Send for LabelLayoutOption
impl Sync for LabelLayoutOption
impl Unpin for LabelLayoutOption
impl UnsafeUnpin for LabelLayoutOption
impl UnwindSafe for LabelLayoutOption
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