pub struct Builder<T>(/* private fields */);
Expand description
A builder for ValueAxis
Implementations§
Source§impl Builder<TitleStage>
impl Builder<TitleStage>
Source§impl Builder<DisplayOptionsStage>
impl Builder<DisplayOptionsStage>
Sourcepub fn display_options(
self,
display_options: AxisDisplayOptions,
) -> Builder<RangeStage>
pub fn display_options( self, display_options: AxisDisplayOptions, ) -> Builder<RangeStage>
Sets the display_options
field.
Source§impl Builder<RangeStage>
impl Builder<RangeStage>
Sourcepub fn range(self, range: AxisRange) -> Builder<LimitStage>
pub fn range(self, range: AxisRange) -> Builder<LimitStage>
Sets the range
field.
Source§impl Builder<LimitStage>
impl Builder<LimitStage>
Sourcepub fn limit(self, limit: AxisRange) -> Builder<PositionStage>
pub fn limit(self, limit: AxisRange) -> Builder<PositionStage>
Sets the limit
field.
Source§impl Builder<PositionStage>
impl Builder<PositionStage>
Sourcepub fn position(self, position: AxisPosition) -> Builder<DomainTypeStage>
pub fn position(self, position: AxisPosition) -> Builder<DomainTypeStage>
Sets the position
field.
Source§impl Builder<DomainTypeStage>
impl Builder<DomainTypeStage>
Sourcepub fn domain_type(self, domain_type: AxisDomainType) -> Builder<Complete>
pub fn domain_type(self, domain_type: AxisDomainType) -> Builder<Complete>
Sets the domain_type
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn display_options(self, display_options: AxisDisplayOptions) -> Self
pub fn display_options(self, display_options: AxisDisplayOptions) -> Self
Sets the display_options
field.
Sourcepub fn position(self, position: AxisPosition) -> Self
pub fn position(self, position: AxisPosition) -> Self
Sets the position
field.
Sourcepub fn domain_type(self, domain_type: AxisDomainType) -> Self
pub fn domain_type(self, domain_type: AxisDomainType) -> Self
Sets the domain_type
field.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request