pub struct CalendarOption {Show 13 fields
pub range: Option<Vec<String>>,
pub cell_size: Option<f64>,
pub orient: Option<Orientation>,
pub top: Option<f64>,
pub left: Option<f64>,
pub item_style: Option<ItemStyleOption>,
pub label: Option<LabelOption>,
pub line_style: Option<LineStyleOption>,
pub split_line: Option<SplitLineOption>,
pub year_label: Option<LabelOption>,
pub month_label: Option<LabelOption>,
pub day_label: Option<LabelOption>,
pub ranges: Vec<DataValue>,
}Expand description
The options of a calendar component.
Fields§
§range: Option<Vec<String>>The range of dates the calendar covers.
cell_size: Option<f64>The size of one cell, in pixels.
orient: Option<Orientation>The orientation of the calendar.
top: Option<f64>The top-left corner of the calendar.
left: Option<f64>The left edge of the calendar.
item_style: Option<ItemStyleOption>The item style of a cell.
label: Option<LabelOption>The label of a cell.
line_style: Option<LineStyleOption>The line style of the cell borders.
split_line: Option<SplitLineOption>The split lines of the calendar.
year_label: Option<LabelOption>The year range the calendar shows.
month_label: Option<LabelOption>The month range the calendar shows.
day_label: Option<LabelOption>The day range the calendar shows.
ranges: Vec<DataValue>The ranges of the calendar.
Trait Implementations§
Source§impl Clone for CalendarOption
impl Clone for CalendarOption
Source§impl Debug for CalendarOption
impl Debug for CalendarOption
Source§impl Default for CalendarOption
impl Default for CalendarOption
Source§impl PartialEq for CalendarOption
impl PartialEq for CalendarOption
impl StructuralPartialEq for CalendarOption
Auto Trait Implementations§
impl Freeze for CalendarOption
impl RefUnwindSafe for CalendarOption
impl Send for CalendarOption
impl Sync for CalendarOption
impl Unpin for CalendarOption
impl UnsafeUnpin for CalendarOption
impl UnwindSafe for CalendarOption
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