Struct objc2_ui_kit::UIEdgeInsets
source · #[repr(C)]pub struct UIEdgeInsets {
pub top: CGFloat,
pub left: CGFloat,
pub bottom: CGFloat,
pub right: CGFloat,
}
Available on crate feature
UIGeometry
only.Fields§
§top: CGFloat
§left: CGFloat
§bottom: CGFloat
§right: CGFloat
Trait Implementations§
source§impl Clone for UIEdgeInsets
impl Clone for UIEdgeInsets
source§fn clone(&self) -> UIEdgeInsets
fn clone(&self) -> UIEdgeInsets
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 UIEdgeInsets
impl Debug for UIEdgeInsets
source§impl Encode for UIEdgeInsets
impl Encode for UIEdgeInsets
source§impl PartialEq for UIEdgeInsets
impl PartialEq for UIEdgeInsets
source§fn eq(&self, other: &UIEdgeInsets) -> bool
fn eq(&self, other: &UIEdgeInsets) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for UIEdgeInsets
impl RefEncode for UIEdgeInsets
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for UIEdgeInsets
impl Send for UIEdgeInsets
impl StructuralPartialEq for UIEdgeInsets
impl Sync for UIEdgeInsets
Auto Trait Implementations§
impl Freeze for UIEdgeInsets
impl RefUnwindSafe for UIEdgeInsets
impl Unpin for UIEdgeInsets
impl UnwindSafe for UIEdgeInsets
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.