Struct BoldPoints
pub struct BoldPoints(pub usize);Available on crate feature
plot only.Expand description
The key point hint indicates we only need key point for the bold grid lines
Tuple Fields§
§0: usizeTrait Implementations§
§impl KeyPointHint for BoldPoints
impl KeyPointHint for BoldPoints
§fn max_num_points(&self) -> usize
fn max_num_points(&self) -> usize
Returns the max number of key points
§fn weight(&self) -> KeyPointWeight
fn weight(&self) -> KeyPointWeight
Returns the weight for this hint
§fn bold_points(&self) -> usize
fn bold_points(&self) -> usize
Returns the point number constraint for the bold points
Auto Trait Implementations§
impl Freeze for BoldPoints
impl RefUnwindSafe for BoldPoints
impl Send for BoldPoints
impl Sync for BoldPoints
impl Unpin for BoldPoints
impl UnwindSafe for BoldPoints
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more