pub struct LblId<C: IntoCStr>(/* private fields */);
Expand description
A string that works as both a label and identifier.
For example "Enter the data###data1"
.
Prefer to use function lbl_id()
function to construct it from two strings.
Or use function lbl()
to build it from an old compatible label###id
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for LblId<C>where
C: Freeze,
impl<C> RefUnwindSafe for LblId<C>where
C: RefUnwindSafe,
impl<C> Send for LblId<C>where
C: Send,
impl<C> Sync for LblId<C>where
C: Sync,
impl<C> Unpin for LblId<C>where
C: Unpin,
impl<C> UnwindSafe for LblId<C>where
C: UnwindSafe,
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