pub struct RadioStyle {
pub background: Option<Color>,
pub checked: Option<Color>,
pub border: Option<Color>,
pub checked_border: Option<Color>,
pub dot: Option<Color>,
pub text: Option<Color>,
pub font_size: Option<f32>,
pub diameter: Option<f32>,
}Fields§
§background: Option<Color>§checked: Option<Color>§border: Option<Color>§checked_border: Option<Color>§dot: Option<Color>§text: Option<Color>§font_size: Option<f32>§diameter: Option<f32>Implementations§
Source§impl RadioStyle
impl RadioStyle
pub const fn new() -> RadioStyle
pub const fn background(self, color: Color) -> RadioStyle
pub const fn checked(self, color: Color) -> RadioStyle
pub const fn border(self, color: Color) -> RadioStyle
pub const fn checked_border(self, color: Color) -> RadioStyle
pub const fn dot(self, color: Color) -> RadioStyle
pub const fn text(self, color: Color) -> RadioStyle
pub const fn font_size(self, size: f32) -> RadioStyle
pub const fn diameter(self, size: f32) -> RadioStyle
Trait Implementations§
Source§impl Clone for RadioStyle
impl Clone for RadioStyle
Source§fn clone(&self) -> RadioStyle
fn clone(&self) -> RadioStyle
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 RadioStyle
Source§impl Debug for RadioStyle
impl Debug for RadioStyle
Source§impl Default for RadioStyle
impl Default for RadioStyle
Source§fn default() -> RadioStyle
fn default() -> RadioStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for RadioStyle
impl PartialEq for RadioStyle
impl StructuralPartialEq for RadioStyle
Auto Trait Implementations§
impl Freeze for RadioStyle
impl RefUnwindSafe for RadioStyle
impl Send for RadioStyle
impl Sync for RadioStyle
impl Unpin for RadioStyle
impl UnsafeUnpin for RadioStyle
impl UnwindSafe for RadioStyle
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