pub struct Builder<S, I> { /* private fields */ }
Expand description
Incrementally construct Tag
s.
See Tag::builder
for more details.
Implementations§
Source§impl Builder<Suffix, Icon>
impl Builder<Suffix, Icon>
Sourcepub fn build(self) -> Tag
pub fn build(self) -> Tag
Complete the Tag
.
This can only be called once a suffix and an icon have been provided via
.suffix(...)
and .icon(...)
, or
alternatively just .level(...)
.
Trait Implementations§
impl<S: Copy, I: Copy> Copy for Builder<S, I>
impl<S: Eq, I: Eq> Eq for Builder<S, I>
impl<S, I> StructuralPartialEq for Builder<S, I>
Auto Trait Implementations§
impl<S, I> Freeze for Builder<S, I>
impl<S, I> RefUnwindSafe for Builder<S, I>where
S: RefUnwindSafe,
I: RefUnwindSafe,
impl<S, I> Send for Builder<S, I>
impl<S, I> Sync for Builder<S, I>
impl<S, I> Unpin for Builder<S, I>
impl<S, I> UnwindSafe for Builder<S, I>where
S: UnwindSafe,
I: 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