pub struct IlabelItem {
pub name: String,
pub index: i32,
}Expand description
A single label item within an Ilabel list.
Pairs a name with an index (typically a point or contour index).
Fields§
§name: StringDisplay name for this label item.
index: i32Index this label refers to (e.g. point index within a contour).
Trait Implementations§
Source§impl Clone for IlabelItem
impl Clone for IlabelItem
Source§fn clone(&self) -> IlabelItem
fn clone(&self) -> IlabelItem
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 moreSource§impl Debug for IlabelItem
impl Debug for IlabelItem
Source§impl PartialEq for IlabelItem
impl PartialEq for IlabelItem
impl StructuralPartialEq for IlabelItem
Auto Trait Implementations§
impl Freeze for IlabelItem
impl RefUnwindSafe for IlabelItem
impl Send for IlabelItem
impl Sync for IlabelItem
impl Unpin for IlabelItem
impl UnsafeUnpin for IlabelItem
impl UnwindSafe for IlabelItem
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