#[non_exhaustive]pub struct VisibleRangeOptionsBuilder { /* private fields */ }Expand description
A builder for VisibleRangeOptions.
Implementations§
source§impl VisibleRangeOptionsBuilder
impl VisibleRangeOptionsBuilder
sourcepub fn percent_range(self, input: PercentVisibleRange) -> Self
pub fn percent_range(self, input: PercentVisibleRange) -> Self
The percent range in the visible range.
sourcepub fn set_percent_range(self, input: Option<PercentVisibleRange>) -> Self
pub fn set_percent_range(self, input: Option<PercentVisibleRange>) -> Self
The percent range in the visible range.
sourcepub fn get_percent_range(&self) -> &Option<PercentVisibleRange>
pub fn get_percent_range(&self) -> &Option<PercentVisibleRange>
The percent range in the visible range.
sourcepub fn build(self) -> VisibleRangeOptions
pub fn build(self) -> VisibleRangeOptions
Consumes the builder and constructs a VisibleRangeOptions.
Trait Implementations§
source§impl Clone for VisibleRangeOptionsBuilder
impl Clone for VisibleRangeOptionsBuilder
source§fn clone(&self) -> VisibleRangeOptionsBuilder
fn clone(&self) -> VisibleRangeOptionsBuilder
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 VisibleRangeOptionsBuilder
impl Debug for VisibleRangeOptionsBuilder
source§impl Default for VisibleRangeOptionsBuilder
impl Default for VisibleRangeOptionsBuilder
source§fn default() -> VisibleRangeOptionsBuilder
fn default() -> VisibleRangeOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VisibleRangeOptionsBuilder
impl PartialEq for VisibleRangeOptionsBuilder
source§fn eq(&self, other: &VisibleRangeOptionsBuilder) -> bool
fn eq(&self, other: &VisibleRangeOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VisibleRangeOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VisibleRangeOptionsBuilder
impl Send for VisibleRangeOptionsBuilder
impl Sync for VisibleRangeOptionsBuilder
impl Unpin for VisibleRangeOptionsBuilder
impl UnwindSafe for VisibleRangeOptionsBuilder
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>
Creates a shared type from an unshared type.