pub struct CssPoint {
pub x: f32,
pub y: f32,
}Expand description
Coordinates in the document’s CSS-pixel space.
Fields§
§x: f32§y: f32Trait Implementations§
impl Copy for CssPoint
Source§impl<'de> Deserialize<'de> for CssPoint
impl<'de> Deserialize<'de> for CssPoint
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
impl StructuralPartialEq for CssPoint
Auto Trait Implementations§
impl Freeze for CssPoint
impl RefUnwindSafe for CssPoint
impl Send for CssPoint
impl Sync for CssPoint
impl Unpin for CssPoint
impl UnsafeUnpin for CssPoint
impl UnwindSafe for CssPoint
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