Struct LightPoints
pub struct LightPoints { /* private fields */ }Available on crate feature
plot only.Expand description
The key point hint indicates that we are using the key points for the light grid lines
Implementations§
§impl LightPoints
impl LightPoints
pub fn new(bold_count: usize, requested: usize) -> LightPoints
pub fn new(bold_count: usize, requested: usize) -> LightPoints
Create a new light key point hind
Trait Implementations§
§impl KeyPointHint for LightPoints
impl KeyPointHint for LightPoints
§fn max_num_points(&self) -> usize
fn max_num_points(&self) -> usize
Returns the max number of key points
§fn bold_points(&self) -> usize
fn bold_points(&self) -> usize
Returns the point number constraint for the bold points
§fn weight(&self) -> KeyPointWeight
fn weight(&self) -> KeyPointWeight
Returns the weight for this hint
Auto Trait Implementations§
impl Freeze for LightPoints
impl RefUnwindSafe for LightPoints
impl Send for LightPoints
impl Sync for LightPoints
impl Unpin for LightPoints
impl UnwindSafe for LightPoints
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