pub struct BoldPoints(pub usize);
Expand description
The key point hint indicates we only need key point for the bold grid lines
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl KeyPointHint for BoldPoints
impl KeyPointHint for BoldPoints
Source§fn max_num_points(&self) -> usize
fn max_num_points(&self) -> usize
Returns the max number of key points
Source§fn weight(&self) -> KeyPointWeight
fn weight(&self) -> KeyPointWeight
Returns the weight for this hint
Source§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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes