Enum oxytail_theme_dark::Theme
source · pub enum Theme {
Dark,
}Variants§
Dark
Trait Implementations§
source§impl ThemeStyling for Theme
impl ThemeStyling for Theme
source§fn get_badge_style(
&self,
badge_props: BadgeProps
) -> Box<dyn Fn(Style) -> Style + '_>
fn get_badge_style( &self, badge_props: BadgeProps ) -> Box<dyn Fn(Style) -> Style + '_>
Defines how a badge should look like.
source§fn theme_defaults(&self) -> DefaultThemeProps
fn theme_defaults(&self) -> DefaultThemeProps
Defines a set of colors to be used by the theme.
This can be adjusted within specific widget function later if needed, but for a vast majority of themes the colors are reused.
Defines how a
button style should look like.source§fn get_checkbox_style(
&self,
checkbox_props: CheckboxProps
) -> Box<dyn Fn(Style) -> Style>
fn get_checkbox_style( &self, checkbox_props: CheckboxProps ) -> Box<dyn Fn(Style) -> Style>
Defines how a
checkbox should look like.source§fn get_input_style(
&self,
input_props: InputProps
) -> Box<dyn Fn(Style) -> Style>
fn get_input_style( &self, input_props: InputProps ) -> Box<dyn Fn(Style) -> Style>
Defines how a
input should look like.source§fn get_toggle_style(
&self,
toggle_props: ToggleProps
) -> Box<dyn Fn(Style) -> Style>
fn get_toggle_style( &self, toggle_props: ToggleProps ) -> Box<dyn Fn(Style) -> Style>
Defines how a
toggle should look like.source§fn get_radio_style(
&self,
radio_props: RadioProps
) -> (Box<dyn Fn(Style) -> Style>, Box<dyn Fn(Style) -> Style>)
fn get_radio_style( &self, radio_props: RadioProps ) -> (Box<dyn Fn(Style) -> Style>, Box<dyn Fn(Style) -> Style>)
Defines how a
radio_button should look like.
Returns a tuple, where first argument styles the “dot” of the active radio and the second one is the “outer circle”, containing the default state of the radio.source§fn get_header_style(
&self,
header_props: HeaderProps
) -> Box<dyn Fn(Style) -> Style>
fn get_header_style( &self, header_props: HeaderProps ) -> Box<dyn Fn(Style) -> Style>
Defines how a
text_header should look like.source§fn get_divider_style(&self) -> Box<dyn Fn(Style) -> Style>
fn get_divider_style(&self) -> Box<dyn Fn(Style) -> Style>
Defines how a
text_divider should look like.source§fn get_tooltip_style(
&self,
tooltip_props: TooltipProps
) -> Box<dyn Fn(Style) -> Style + '_>
fn get_tooltip_style( &self, tooltip_props: TooltipProps ) -> Box<dyn Fn(Style) -> Style + '_>
Defines how a
tooltip should look like.Auto Trait Implementations§
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§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().