pub struct Composer<const SEPARATOR: char = DEFAULT_USERNAME_LABEL_SEPARATOR> { /* private fields */ }Expand description
Composer struct used to compose a username into a String,
with labels, all separated by the given SEPARATOR. Empty labels
aren’t allowed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const SEPARATOR: char> Freeze for Composer<SEPARATOR>
impl<const SEPARATOR: char> RefUnwindSafe for Composer<SEPARATOR>
impl<const SEPARATOR: char> Send for Composer<SEPARATOR>
impl<const SEPARATOR: char> Sync for Composer<SEPARATOR>
impl<const SEPARATOR: char> Unpin for Composer<SEPARATOR>
impl<const SEPARATOR: char> UnwindSafe for Composer<SEPARATOR>
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