pub struct MarkPointData { /* private fields */ }
Implementations§
Source§impl MarkPointData
impl MarkPointData
pub fn new() -> Self
pub fn type_<T: Into<MarkPointDataType>>(self, type_: T) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
pub fn x_axis<F: Into<i64>>(self, x_axis: F) -> Self
pub fn y_axis<F: Into<i64>>(self, y_axis: F) -> Self
pub fn value<F: Into<i64>>(self, value: F) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MarkPointData
impl RefUnwindSafe for MarkPointData
impl Send for MarkPointData
impl Sync for MarkPointData
impl Unpin for MarkPointData
impl UnwindSafe for MarkPointData
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> 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 more