pub struct EdgeInsets {
pub top: f64,
pub left: f64,
pub bottom: f64,
pub right: f64,
}Expand description
Represents edge insets used by VisionKit.
Fields§
§top: f64Stores the VisionKit top value.
left: f64Stores the VisionKit left value.
bottom: f64Stores the VisionKit bottom value.
right: f64Stores the VisionKit right value.
Trait Implementations§
Source§impl Clone for EdgeInsets
impl Clone for EdgeInsets
impl Copy for EdgeInsets
Source§impl Debug for EdgeInsets
impl Debug for EdgeInsets
Source§impl Default for EdgeInsets
impl Default for EdgeInsets
Source§impl<'de> Deserialize<'de> for EdgeInsets
impl<'de> Deserialize<'de> for EdgeInsets
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EdgeInsets
impl PartialEq for EdgeInsets
Source§impl Serialize for EdgeInsets
impl Serialize for EdgeInsets
impl StructuralPartialEq for EdgeInsets
Auto Trait Implementations§
impl Forget for EdgeInsets
impl Freeze for EdgeInsets
impl Move 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