pub struct AxisConfigBuilder { /* private fields */ }Expand description
Builder for AxisConfig object.
Implementations§
Source§impl AxisConfigBuilder
impl AxisConfigBuilder
Sourcepub fn get_categories(&self) -> Option<&[String]>
pub fn get_categories(&self) -> Option<&[String]>
get categories field value.
Sourcepub fn set_categories<Iter, Inner>(self, value: Option<Iter>) -> Self
pub fn set_categories<Iter, Inner>(self, value: Option<Iter>) -> Self
set categories field value.
Sourcepub fn categories<Iter, Inner>(self, value: Iter) -> Self
pub fn categories<Iter, Inner>(self, value: Iter) -> Self
set categories field value.
Sourcepub fn get_x_label(&self) -> Option<&String>
pub fn get_x_label(&self) -> Option<&String>
get x_label field value.
Sourcepub fn set_x_label(self, value: Option<impl Into<String>>) -> Self
pub fn set_x_label(self, value: Option<impl Into<String>>) -> Self
set x_label field value.
Sourcepub fn get_y_label(&self) -> Option<&String>
pub fn get_y_label(&self) -> Option<&String>
get y_label field value.
Sourcepub fn set_y_label(self, value: Option<impl Into<String>>) -> Self
pub fn set_y_label(self, value: Option<impl Into<String>>) -> Self
set y_label field value.
Sourcepub fn build(self) -> Result<AxisConfig, ValidationErrors>
pub fn build(self) -> Result<AxisConfig, ValidationErrors>
build AxisConfig object.
Trait Implementations§
Source§impl Debug for AxisConfigBuilder
impl Debug for AxisConfigBuilder
Auto Trait Implementations§
impl Freeze for AxisConfigBuilder
impl RefUnwindSafe for AxisConfigBuilder
impl Send for AxisConfigBuilder
impl Sync for AxisConfigBuilder
impl Unpin for AxisConfigBuilder
impl UnsafeUnpin for AxisConfigBuilder
impl UnwindSafe for AxisConfigBuilder
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