pub struct EdgeValues {
pub top: f32,
pub right: f32,
pub bottom: f32,
pub left: f32,
}
Expand description
Edge values for margin, padding, border
Fields§
§top: f32
§right: f32
§bottom: f32
§left: f32
Implementations§
Source§impl EdgeValues
impl EdgeValues
Trait Implementations§
Source§impl Clone for EdgeValues
impl Clone for EdgeValues
Source§fn clone(&self) -> EdgeValues
fn clone(&self) -> EdgeValues
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 EdgeValues
impl Debug for EdgeValues
Source§impl Default for EdgeValues
impl Default for EdgeValues
Source§impl PartialEq for EdgeValues
impl PartialEq for EdgeValues
impl Copy for EdgeValues
impl StructuralPartialEq for EdgeValues
Auto Trait Implementations§
impl Freeze for EdgeValues
impl RefUnwindSafe for EdgeValues
impl Send for EdgeValues
impl Sync for EdgeValues
impl Unpin for EdgeValues
impl UnwindSafe for EdgeValues
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§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting