pub trait CalendarExt:
IsA<Calendar>
+ Sealed
+ 'static {
Show 47 methods
// Provided methods
fn clear_marks(&self) { ... }
fn date(&self) -> (u32, u32, u32) { ... }
fn day_is_marked(&self, day: u32) -> bool { ... }
fn detail_height_rows(&self) -> i32 { ... }
fn detail_width_chars(&self) -> i32 { ... }
fn display_options(&self) -> CalendarDisplayOptions { ... }
fn mark_day(&self, day: u32) { ... }
fn select_day(&self, day: u32) { ... }
fn select_month(&self, month: u32, year: u32) { ... }
fn set_detail_func<P: Fn(&Calendar, u32, u32, u32) -> Option<String> + 'static>(
&self,
func: P,
) { ... }
fn set_detail_height_rows(&self, rows: i32) { ... }
fn set_detail_width_chars(&self, chars: i32) { ... }
fn set_display_options(&self, flags: CalendarDisplayOptions) { ... }
fn unmark_day(&self, day: u32) { ... }
fn day(&self) -> i32 { ... }
fn set_day(&self, day: i32) { ... }
fn month(&self) -> i32 { ... }
fn set_month(&self, month: i32) { ... }
fn is_no_month_change(&self) -> bool { ... }
fn set_no_month_change(&self, no_month_change: bool) { ... }
fn shows_day_names(&self) -> bool { ... }
fn set_show_day_names(&self, show_day_names: bool) { ... }
fn shows_details(&self) -> bool { ... }
fn set_show_details(&self, show_details: bool) { ... }
fn shows_heading(&self) -> bool { ... }
fn set_show_heading(&self, show_heading: bool) { ... }
fn shows_week_numbers(&self) -> bool { ... }
fn set_show_week_numbers(&self, show_week_numbers: bool) { ... }
fn year(&self) -> i32 { ... }
fn set_year(&self, year: i32) { ... }
fn connect_day_selected<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_day_selected_double_click<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_month_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_next_month<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_next_year<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_prev_month<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_prev_year<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_day_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_detail_height_rows_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_detail_width_chars_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_month_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_no_month_change_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_day_names_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_details_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_heading_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_week_numbers_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_year_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn clear_marks(&self)
fn date(&self) -> (u32, u32, u32)
fn day_is_marked(&self, day: u32) -> bool
fn detail_height_rows(&self) -> i32
fn detail_width_chars(&self) -> i32
fn display_options(&self) -> CalendarDisplayOptions
fn mark_day(&self, day: u32)
fn select_day(&self, day: u32)
fn select_month(&self, month: u32, year: u32)
fn set_detail_func<P: Fn(&Calendar, u32, u32, u32) -> Option<String> + 'static>( &self, func: P, )
fn set_detail_height_rows(&self, rows: i32)
fn set_detail_width_chars(&self, chars: i32)
fn set_display_options(&self, flags: CalendarDisplayOptions)
fn unmark_day(&self, day: u32)
fn day(&self) -> i32
fn set_day(&self, day: i32)
fn month(&self) -> i32
fn set_month(&self, month: i32)
fn is_no_month_change(&self) -> bool
fn set_no_month_change(&self, no_month_change: bool)
fn shows_day_names(&self) -> bool
fn set_show_day_names(&self, show_day_names: bool)
fn shows_details(&self) -> bool
fn set_show_details(&self, show_details: bool)
fn shows_heading(&self) -> bool
fn set_show_heading(&self, show_heading: bool)
fn shows_week_numbers(&self) -> bool
fn set_show_week_numbers(&self, show_week_numbers: bool)
fn year(&self) -> i32
fn set_year(&self, year: i32)
fn connect_day_selected<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_day_selected_double_click<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_month_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_next_month<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_next_year<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_prev_month<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_prev_year<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_day_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_detail_height_rows_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_detail_width_chars_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_month_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_no_month_change_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_show_day_names_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_show_details_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_show_heading_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_show_week_numbers_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_year_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.