pub struct NineSliceMargins {
pub left: f32,
pub right: f32,
pub top: f32,
pub bottom: f32,
}
Fields§
§left: f32
§right: f32
§top: f32
§bottom: f32
Implementations§
Trait Implementations§
Source§impl Clone for NineSliceMargins
impl Clone for NineSliceMargins
Source§fn clone(&self) -> NineSliceMargins
fn clone(&self) -> NineSliceMargins
Returns a copy 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 NineSliceMargins
impl Debug for NineSliceMargins
Source§impl Default for NineSliceMargins
impl Default for NineSliceMargins
Source§fn default() -> NineSliceMargins
fn default() -> NineSliceMargins
Returns the “default value” for a type. Read more
Source§impl From<f32> for NineSliceMargins
impl From<f32> for NineSliceMargins
impl Copy for NineSliceMargins
Auto Trait Implementations§
impl Freeze for NineSliceMargins
impl RefUnwindSafe for NineSliceMargins
impl Send for NineSliceMargins
impl Sync for NineSliceMargins
impl Unpin for NineSliceMargins
impl UnwindSafe for NineSliceMargins
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