pub struct LayoutSideOffsets {
pub top: FloatValue,
pub right: FloatValue,
pub bottom: FloatValue,
pub left: FloatValue,
}
Expand description
Offsets of the border-width calculations
Fields§
§top: FloatValue
§right: FloatValue
§bottom: FloatValue
§left: FloatValue
Trait Implementations§
Source§impl Clone for LayoutSideOffsets
impl Clone for LayoutSideOffsets
Source§fn clone(&self) -> LayoutSideOffsets
fn clone(&self) -> LayoutSideOffsets
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 LayoutSideOffsets
impl Debug for LayoutSideOffsets
Source§impl Hash for LayoutSideOffsets
impl Hash for LayoutSideOffsets
Source§impl Ord for LayoutSideOffsets
impl Ord for LayoutSideOffsets
Source§fn cmp(&self, other: &LayoutSideOffsets) -> Ordering
fn cmp(&self, other: &LayoutSideOffsets) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutSideOffsets
impl PartialEq for LayoutSideOffsets
Source§impl PartialOrd for LayoutSideOffsets
impl PartialOrd for LayoutSideOffsets
impl Copy for LayoutSideOffsets
impl Eq for LayoutSideOffsets
impl StructuralPartialEq for LayoutSideOffsets
Auto Trait Implementations§
impl Freeze for LayoutSideOffsets
impl RefUnwindSafe for LayoutSideOffsets
impl Send for LayoutSideOffsets
impl Sync for LayoutSideOffsets
impl Unpin for LayoutSideOffsets
impl UnwindSafe for LayoutSideOffsets
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)