pub struct Axis {Show 19 fields
pub position: Position,
pub split_number: usize,
pub font_size: f32,
pub font_family: String,
pub font_color: Option<Color>,
pub font_weight: Option<String>,
pub data: Vec<String>,
pub formatter: Option<String>,
pub name_gap: f32,
pub name_align: Align,
pub name_rotate: f32,
pub stroke_color: Option<Color>,
pub left: f32,
pub top: f32,
pub width: f32,
pub height: f32,
pub tick_length: f32,
pub tick_start: usize,
pub tick_interval: usize,
}Fields§
§position: Position§split_number: usize§font_size: f32§font_family: String§font_color: Option<Color>§font_weight: Option<String>§data: Vec<String>§formatter: Option<String>§name_gap: f32§name_align: Align§name_rotate: f32§stroke_color: Option<Color>§left: f32§top: f32§width: f32§height: f32§tick_length: f32§tick_start: usize§tick_interval: usizeImplementations§
Trait Implementations§
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnwindSafe for Axis
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> 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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().