pub struct Builder<T>(/* private fields */);
Expand description
A builder for TimeSeriesEnumPlot
Implementations§
Source§impl Builder<ColorStage>
impl Builder<ColorStage>
Sourcepub fn color(self, color: ColorStyle) -> Builder<PositionStage>
pub fn color(self, color: ColorStyle) -> Builder<PositionStage>
Sets the color
field.
Source§impl Builder<PositionStage>
impl Builder<PositionStage>
Sourcepub fn position(self, position: Position) -> Builder<PersistValueOverlaysStage>
pub fn position(self, position: Position) -> Builder<PersistValueOverlaysStage>
Sets the position
field.
Source§impl Builder<PersistValueOverlaysStage>
impl Builder<PersistValueOverlaysStage>
Sourcepub fn persist_value_overlays(
self,
persist_value_overlays: PersistValueOverlay,
) -> Builder<OverlayScopeStage>
pub fn persist_value_overlays( self, persist_value_overlays: PersistValueOverlay, ) -> Builder<OverlayScopeStage>
Sets the persist_value_overlays
field.
Source§impl Builder<OverlayScopeStage>
impl Builder<OverlayScopeStage>
Sourcepub fn overlay_scope(
self,
overlay_scope: OverlayScope,
) -> Builder<DisplayInlineStage>
pub fn overlay_scope( self, overlay_scope: OverlayScope, ) -> Builder<DisplayInlineStage>
Sets the overlay_scope
field.
Source§impl Builder<DisplayInlineStage>
impl Builder<DisplayInlineStage>
Sourcepub fn display_inline(self, display_inline: bool) -> Builder<Complete>
pub fn display_inline(self, display_inline: bool) -> Builder<Complete>
Sets the display_inline
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn color(self, color: ColorStyle) -> Self
pub fn color(self, color: ColorStyle) -> Self
Sets the color
field.
Sourcepub fn persist_value_overlays(
self,
persist_value_overlays: PersistValueOverlay,
) -> Self
pub fn persist_value_overlays( self, persist_value_overlays: PersistValueOverlay, ) -> Self
Sets the persist_value_overlays
field.
Sourcepub fn overlay_scope(self, overlay_scope: OverlayScope) -> Self
pub fn overlay_scope(self, overlay_scope: OverlayScope) -> Self
Sets the overlay_scope
field.
Sourcepub fn display_inline(self, display_inline: bool) -> Self
pub fn display_inline(self, display_inline: bool) -> Self
Sets the display_inline
field.
Sourcepub fn build(self) -> TimeSeriesEnumPlot
pub fn build(self) -> TimeSeriesEnumPlot
Consumes the builder, returning a TimeSeriesEnumPlot
.
Trait Implementations§
Source§impl Default for Builder<ColorStage>
impl Default for Builder<ColorStage>
Source§impl From<TimeSeriesEnumPlot> for Builder<Complete>
impl From<TimeSeriesEnumPlot> for Builder<Complete>
Source§fn from(v: TimeSeriesEnumPlot) -> Self
fn from(v: TimeSeriesEnumPlot) -> Self
Converts to this type from the input type.
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