#[repr(C)]pub struct PLYEdgeInsets {
pub top: CGFloat,
pub left: CGFloat,
pub bottom: CGFloat,
pub right: CGFloat,
}Expand description
The inset distances for views.
Fields§
§top: CGFloatThe top edge inset value.
left: CGFloatThe left edge inset value.
bottom: CGFloatThe bottom edge inset value.
right: CGFloatThe right edge inset value.
Trait Implementations§
Source§impl Clone for PLYEdgeInsets
impl Clone for PLYEdgeInsets
Source§fn clone(&self) -> PLYEdgeInsets
fn clone(&self) -> PLYEdgeInsets
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 moreSource§impl Debug for PLYEdgeInsets
impl Debug for PLYEdgeInsets
Source§impl Default for PLYEdgeInsets
impl Default for PLYEdgeInsets
Source§fn default() -> PLYEdgeInsets
fn default() -> PLYEdgeInsets
Returns the “default value” for a type. Read more
Source§impl PartialEq for PLYEdgeInsets
impl PartialEq for PLYEdgeInsets
impl Copy for PLYEdgeInsets
impl StructuralPartialEq for PLYEdgeInsets
Auto Trait Implementations§
impl Freeze for PLYEdgeInsets
impl RefUnwindSafe for PLYEdgeInsets
impl Send for PLYEdgeInsets
impl Sync for PLYEdgeInsets
impl Unpin for PLYEdgeInsets
impl UnsafeUnpin for PLYEdgeInsets
impl UnwindSafe for PLYEdgeInsets
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