pub struct ErrorData { /* private fields */ }Implementations§
Source§impl ErrorData
impl ErrorData
pub fn new(error_type: ErrorType) -> ErrorData
pub fn array(self, array: Vec<f64>) -> ErrorData
pub fn visible(self, visible: bool) -> ErrorData
pub fn symmetric(self, symmetric: bool) -> ErrorData
pub fn array_minus(self, array_minus: Vec<f64>) -> ErrorData
pub fn value(self, value: f64) -> ErrorData
pub fn value_minus(self, value_minus: f64) -> ErrorData
pub fn trace_ref(self, trace_ref: usize) -> ErrorData
pub fn trace_ref_minus(self, trace_ref_minus: usize) -> ErrorData
pub fn copy_ystyle(self, copy_ystyle: bool) -> ErrorData
pub fn color<C>(self, color: C) -> ErrorDatawhere
C: Color,
pub fn thickness(self, thickness: f64) -> ErrorData
pub fn width(self, width: usize) -> ErrorData
Trait Implementations§
Source§impl Serialize for ErrorData
impl Serialize for ErrorData
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ErrorData
impl !RefUnwindSafe for ErrorData
impl Send for ErrorData
impl Sync for ErrorData
impl Unpin for ErrorData
impl !UnwindSafe for ErrorData
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