#[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 Freeze for VisibleRangeOptionsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.