pub struct EdgeSizes {
pub top: FixedPoint,
pub right: FixedPoint,
pub bottom: FixedPoint,
pub left: FixedPoint,
}Expand description
Edge sizes (margin, padding, border)
Fields§
§top: FixedPoint§right: FixedPoint§bottom: FixedPoint§left: FixedPointTrait Implementations§
impl Copy for EdgeSizes
impl Eq for EdgeSizes
impl StructuralPartialEq for EdgeSizes
Auto Trait Implementations§
impl Freeze for EdgeSizes
impl RefUnwindSafe for EdgeSizes
impl Send for EdgeSizes
impl Sync for EdgeSizes
impl Unpin for EdgeSizes
impl UnwindSafe for EdgeSizes
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)