#[repr(C)]pub struct OH_Drawing_Point2D {
pub x: f32,
pub y: f32,
}Expand description
@brief Defines a point of 2d.
@since 12 @version 1.0
Fields§
§x: f32§y: f32Trait Implementations§
Source§impl Clone for OH_Drawing_Point2D
impl Clone for OH_Drawing_Point2D
Source§fn clone(&self) -> OH_Drawing_Point2D
fn clone(&self) -> OH_Drawing_Point2D
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 OH_Drawing_Point2D
impl Debug for OH_Drawing_Point2D
impl Copy for OH_Drawing_Point2D
Auto Trait Implementations§
impl Freeze for OH_Drawing_Point2D
impl RefUnwindSafe for OH_Drawing_Point2D
impl Send for OH_Drawing_Point2D
impl Sync for OH_Drawing_Point2D
impl Unpin for OH_Drawing_Point2D
impl UnsafeUnpin for OH_Drawing_Point2D
impl UnwindSafe for OH_Drawing_Point2D
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