#[repr(C)]pub struct MKMapRect {
pub origin: MKMapPoint,
pub size: MKMapSize,
}
Available on crate feature
MKGeometry
only.Expand description
Fields§
§origin: MKMapPoint
§size: MKMapSize
Implementations§
Source§impl MKMapRect
impl MKMapRect
pub unsafe fn union(self: MKMapRect, rect2: MKMapRect) -> MKMapRect
pub unsafe fn intersection(self: MKMapRect, rect2: MKMapRect) -> MKMapRect
pub unsafe fn inset(self: MKMapRect, dx: c_double, dy: c_double) -> MKMapRect
pub unsafe fn offset(self: MKMapRect, dx: c_double, dy: c_double) -> MKMapRect
pub unsafe fn divide( self: MKMapRect, slice: NonNull<MKMapRect>, remainder: NonNull<MKMapRect>, amount: c_double, edge: CGRectEdge, )
Available on crate feature
objc2-core-foundation
only.pub unsafe fn contains_point(self: MKMapRect, point: MKMapPoint) -> bool
pub unsafe fn contains_rect(self: MKMapRect, rect2: MKMapRect) -> bool
pub unsafe fn intersects_rect(self: MKMapRect, rect2: MKMapRect) -> bool
Trait Implementations§
Source§impl RefEncode for MKMapRect
impl RefEncode for MKMapRect
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 MKMapRect
impl StructuralPartialEq for MKMapRect
Auto Trait Implementations§
impl Freeze for MKMapRect
impl RefUnwindSafe for MKMapRect
impl Send for MKMapRect
impl Sync for MKMapRect
impl Unpin for MKMapRect
impl UnwindSafe for MKMapRect
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> 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.