Struct tracing_forest::tag::Builder
source · 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§
source§impl<S: PartialEq, I: PartialEq> PartialEq<Builder<S, I>> for Builder<S, I>
impl<S: PartialEq, I: PartialEq> PartialEq<Builder<S, I>> for Builder<S, I>
impl<S: Copy, I: Copy> Copy for Builder<S, I>
impl<S: Eq, I: Eq> Eq for Builder<S, I>
impl<S, I> StructuralEq for Builder<S, I>
impl<S, I> StructuralPartialEq for Builder<S, I>
Auto Trait Implementations§
impl<S, I> RefUnwindSafe for Builder<S, I>where I: RefUnwindSafe, S: RefUnwindSafe,
impl<S, I> Send for Builder<S, I>where I: Send, S: Send,
impl<S, I> Sync for Builder<S, I>where I: Sync, S: Sync,
impl<S, I> Unpin for Builder<S, I>where I: Unpin, S: Unpin,
impl<S, I> UnwindSafe for Builder<S, I>where I: UnwindSafe, S: 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