pub struct TickMarkLayout {
pub width: f32,
pub bar_spacing: f32,
pub min_spacing: f32,
pub uniform_distribution: bool,
}Expand description
Where the tick marks of a horizontal axis are laid out.
Fields§
§width: f32Plot width in points.
bar_spacing: f32Distance between neighbouring bars in points.
min_spacing: f32Minimum distance between the centres of two labels in points.
uniform_distribution: boolWhether marks of one weight are shown all or none, so labels of one kind stay evenly spaced.
Trait Implementations§
Source§impl Clone for TickMarkLayout
impl Clone for TickMarkLayout
Source§fn clone(&self) -> TickMarkLayout
fn clone(&self) -> TickMarkLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TickMarkLayout
Source§impl Debug for TickMarkLayout
impl Debug for TickMarkLayout
Source§impl PartialEq for TickMarkLayout
impl PartialEq for TickMarkLayout
impl StructuralPartialEq for TickMarkLayout
Auto Trait Implementations§
impl Freeze for TickMarkLayout
impl RefUnwindSafe for TickMarkLayout
impl Send for TickMarkLayout
impl Sync for TickMarkLayout
impl Unpin for TickMarkLayout
impl UnsafeUnpin for TickMarkLayout
impl UnwindSafe for TickMarkLayout
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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