pub struct PlacedLabel {
pub id: String,
pub text: String,
pub position: ScreenPoint,
pub priority: LabelPriority,
}Expand description
A label selected for display.
Fields§
§id: StringStable feature identifier.
text: StringLocalized visible text.
position: ScreenPointNormalized display position.
priority: LabelPriorityPriority used during placement.
Trait Implementations§
Source§impl Clone for PlacedLabel
impl Clone for PlacedLabel
Source§impl Debug for PlacedLabel
impl Debug for PlacedLabel
Source§impl PartialEq for PlacedLabel
impl PartialEq for PlacedLabel
impl StructuralPartialEq for PlacedLabel
Auto Trait Implementations§
impl Freeze for PlacedLabel
impl RefUnwindSafe for PlacedLabel
impl Send for PlacedLabel
impl Sync for PlacedLabel
impl Unpin for PlacedLabel
impl UnsafeUnpin for PlacedLabel
impl UnwindSafe for PlacedLabel
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