pub struct LabelBuilder(/* private fields */);Available on crate feature
builder only.Expand description
Create a label from a builder.
Implementations§
Source§impl LabelBuilder
impl LabelBuilder
Sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
Set the description of this label.
Trait Implementations§
Source§impl Clone for LabelBuilder
impl Clone for LabelBuilder
Source§fn clone(&self) -> LabelBuilder
fn clone(&self) -> LabelBuilder
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 LabelBuilder
impl Debug for LabelBuilder
Source§impl From<LabelBuilder> for Label
impl From<LabelBuilder> for Label
Source§fn from(builder: LabelBuilder) -> Self
fn from(builder: LabelBuilder) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LabelBuilder
impl PartialEq for LabelBuilder
impl Eq for LabelBuilder
impl StructuralPartialEq for LabelBuilder
Auto Trait Implementations§
impl Freeze for LabelBuilder
impl RefUnwindSafe for LabelBuilder
impl Send for LabelBuilder
impl Sync for LabelBuilder
impl Unpin for LabelBuilder
impl UnwindSafe for LabelBuilder
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