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