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§impl Debug for LabelBuilder
impl Debug for LabelBuilder
impl Eq 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 StructuralPartialEq for LabelBuilder
Auto Trait Implementations§
impl Forget for LabelBuilder
impl Freeze for LabelBuilder
impl Move for LabelBuilder
impl RefUnwindSafe for LabelBuilder
impl Send for LabelBuilder
impl Sync for LabelBuilder
impl Unpin for LabelBuilder
impl UnsafeUnpin for LabelBuilderwhere
*const Component is !null: UnsafeUnpin,
PhantomData<Component>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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