pub struct ScreenPoint {
pub x: FracVal,
pub y: FracVal,
}Fields§
§x: FracVal§y: FracValTrait Implementations§
Source§impl Clone for ScreenPoint
impl Clone for ScreenPoint
Source§fn clone(&self) -> ScreenPoint
fn clone(&self) -> ScreenPoint
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 ScreenPoint
impl Debug for ScreenPoint
Source§impl Default for ScreenPoint
impl Default for ScreenPoint
Source§fn default() -> ScreenPoint
fn default() -> ScreenPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScreenPoint
impl<'de> Deserialize<'de> for ScreenPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ScreenPoint
impl Hash for ScreenPoint
Source§impl PartialEq for ScreenPoint
impl PartialEq for ScreenPoint
Source§impl Serialize for ScreenPoint
impl Serialize for ScreenPoint
impl Copy for ScreenPoint
impl Eq for ScreenPoint
impl StructuralPartialEq for ScreenPoint
Auto Trait Implementations§
impl Freeze for ScreenPoint
impl RefUnwindSafe for ScreenPoint
impl Send for ScreenPoint
impl Sync for ScreenPoint
impl Unpin for ScreenPoint
impl UnsafeUnpin for ScreenPoint
impl UnwindSafe for ScreenPoint
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