oa::ui::UiEdge

Per-side padding in pixels.

StRust public API

Declaration

pub struct UiEdge { pub top: f32, pub right: f32, pub bottom: f32, pub left: f32, }
Public Rust declaration.

Public Methods

fn clone(&self) -> UiEdge
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Associated Functions

pub const fn all(v: f32) -> Self
fn default() -> UiEdge

Public Data Members

topf32field
rightf32field
bottomf32field
leftf32field

Public Method Documentation

fn clone( &self ) -> UiEdge
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
pub const fn all( v: f32 ) -> Self
No public source comment is attached to this declaration.
fn default() -> UiEdge
No public source comment is attached to this declaration.