pub struct LayoutPoint {
pub x: f32,
pub y: f32,
}
Expand description
Only used for calculations: Point coordinate (x, y) in layout space.
Fields§
§x: f32
§y: f32
Implementations§
Trait Implementations§
Source§impl Clone for LayoutPoint
impl Clone for LayoutPoint
Source§fn clone(&self) -> LayoutPoint
fn clone(&self) -> LayoutPoint
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 LayoutPoint
impl Debug for LayoutPoint
Source§impl Display for LayoutPoint
impl Display for LayoutPoint
Source§impl PartialEq for LayoutPoint
impl PartialEq for LayoutPoint
Source§impl PartialOrd for LayoutPoint
impl PartialOrd for LayoutPoint
impl Copy for LayoutPoint
impl StructuralPartialEq for LayoutPoint
Auto Trait Implementations§
impl Freeze for LayoutPoint
impl RefUnwindSafe for LayoutPoint
impl Send for LayoutPoint
impl Sync for LayoutPoint
impl Unpin for LayoutPoint
impl UnwindSafe for LayoutPoint
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)