pub struct LabelManager { /* private fields */ }Expand description
Label manager for tracking multiple labels.
Implementations§
Source§impl LabelManager
impl LabelManager
Sourcepub fn generate_range(&mut self, n: u32)
pub fn generate_range(&mut self, n: u32)
Generate labels from 0 to n-1.
Trait Implementations§
Source§impl Clone for LabelManager
impl Clone for LabelManager
Source§fn clone(&self) -> LabelManager
fn clone(&self) -> LabelManager
Returns a duplicate of the value. Read more
1.0.0 · 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 LabelManager
impl Debug for LabelManager
Auto Trait Implementations§
impl Freeze for LabelManager
impl RefUnwindSafe for LabelManager
impl Send for LabelManager
impl Sync for LabelManager
impl Unpin for LabelManager
impl UnwindSafe for LabelManager
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