#[repr(C)]pub struct SystemMetrics {
pub corner_radius: OptionPixelValue,
pub border_width: OptionPixelValue,
}Expand description
Common system metrics for UI element sizing and spacing.
Fields§
§corner_radius: OptionPixelValueThe corner radius for standard elements like buttons.
border_width: OptionPixelValueThe width of standard borders.
Trait Implementations§
Source§impl Clone for SystemMetrics
impl Clone for SystemMetrics
Source§fn clone(&self) -> SystemMetrics
fn clone(&self) -> SystemMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemMetrics
impl Debug for SystemMetrics
Source§impl Default for SystemMetrics
impl Default for SystemMetrics
Source§fn default() -> SystemMetrics
fn default() -> SystemMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for SystemMetrics
impl PartialEq for SystemMetrics
impl StructuralPartialEq for SystemMetrics
Auto Trait Implementations§
impl Freeze for SystemMetrics
impl RefUnwindSafe for SystemMetrics
impl Send for SystemMetrics
impl Sync for SystemMetrics
impl Unpin for SystemMetrics
impl UnwindSafe for SystemMetrics
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