pub struct MarginEdges {
pub top: MarginEdge,
pub right: MarginEdge,
pub bottom: MarginEdge,
pub left: MarginEdge,
}Fields§
§top: MarginEdge§right: MarginEdge§bottom: MarginEdge§left: MarginEdgeImplementations§
Source§impl MarginEdges
impl MarginEdges
pub fn all(edge: MarginEdge) -> Self
Trait Implementations§
Source§impl Clone for MarginEdges
impl Clone for MarginEdges
Source§fn clone(&self) -> MarginEdges
fn clone(&self) -> MarginEdges
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MarginEdges
Source§impl Debug for MarginEdges
impl Debug for MarginEdges
Source§impl Default for MarginEdges
impl Default for MarginEdges
Source§fn default() -> MarginEdges
fn default() -> MarginEdges
Returns the “default value” for a type. Read more
Source§impl PartialEq for MarginEdges
impl PartialEq for MarginEdges
Source§fn eq(&self, other: &MarginEdges) -> bool
fn eq(&self, other: &MarginEdges) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MarginEdges
Auto Trait Implementations§
impl Freeze for MarginEdges
impl RefUnwindSafe for MarginEdges
impl Send for MarginEdges
impl Sync for MarginEdges
impl Unpin for MarginEdges
impl UnsafeUnpin for MarginEdges
impl UnwindSafe for MarginEdges
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