Struct EdgeInsets
pub struct EdgeInsets {
pub top: f64,
pub left: f64,
pub bottom: f64,
pub right: f64,
}Expand description
Screen-space inset in logical map pixels.
Fields§
§top: f64§left: f64§bottom: f64§right: f64Implementations§
§impl EdgeInsets
impl EdgeInsets
Trait Implementations§
§impl Clone for EdgeInsets
impl Clone for EdgeInsets
§fn clone(&self) -> EdgeInsets
fn clone(&self) -> EdgeInsets
Returns a duplicate 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 more§impl Debug for EdgeInsets
impl Debug for EdgeInsets
§impl Default for EdgeInsets
impl Default for EdgeInsets
§fn default() -> EdgeInsets
fn default() -> EdgeInsets
Returns the “default value” for a type. Read more
§impl PartialEq for EdgeInsets
impl PartialEq for EdgeInsets
impl Copy for EdgeInsets
impl StructuralPartialEq for EdgeInsets
Auto Trait Implementations§
impl Freeze for EdgeInsets
impl RefUnwindSafe for EdgeInsets
impl Send for EdgeInsets
impl Sync for EdgeInsets
impl Unpin for EdgeInsets
impl UnsafeUnpin for EdgeInsets
impl UnwindSafe for EdgeInsets
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