#[non_exhaustive]pub struct RangeEndsLabelTypeBuilder { /* private fields */ }Expand description
A builder for RangeEndsLabelType.
Implementations§
source§impl RangeEndsLabelTypeBuilder
impl RangeEndsLabelTypeBuilder
sourcepub fn visibility(self, input: Visibility) -> Self
pub fn visibility(self, input: Visibility) -> Self
The visibility of the range ends label.
sourcepub fn set_visibility(self, input: Option<Visibility>) -> Self
pub fn set_visibility(self, input: Option<Visibility>) -> Self
The visibility of the range ends label.
sourcepub fn build(self) -> RangeEndsLabelType
pub fn build(self) -> RangeEndsLabelType
Consumes the builder and constructs a RangeEndsLabelType.
Trait Implementations§
source§impl Clone for RangeEndsLabelTypeBuilder
impl Clone for RangeEndsLabelTypeBuilder
source§fn clone(&self) -> RangeEndsLabelTypeBuilder
fn clone(&self) -> RangeEndsLabelTypeBuilder
Returns a copy 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 RangeEndsLabelTypeBuilder
impl Debug for RangeEndsLabelTypeBuilder
source§impl Default for RangeEndsLabelTypeBuilder
impl Default for RangeEndsLabelTypeBuilder
source§fn default() -> RangeEndsLabelTypeBuilder
fn default() -> RangeEndsLabelTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RangeEndsLabelTypeBuilder> for RangeEndsLabelTypeBuilder
impl PartialEq<RangeEndsLabelTypeBuilder> for RangeEndsLabelTypeBuilder
source§fn eq(&self, other: &RangeEndsLabelTypeBuilder) -> bool
fn eq(&self, other: &RangeEndsLabelTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.