pub struct SavedFrame {
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
}Expand description
Frame stored for revalidation. Points are rounded the same way the text is.
Fields§
§x: i32Left edge in screen points.
y: i32Top edge in screen points.
width: u32Width in screen points.
height: u32Height in screen points.
Trait Implementations§
Source§impl Clone for SavedFrame
impl Clone for SavedFrame
impl Copy for SavedFrame
Source§impl Debug for SavedFrame
impl Debug for SavedFrame
Source§impl<'de> Deserialize<'de> for SavedFrame
impl<'de> Deserialize<'de> for SavedFrame
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 Eq for SavedFrame
Source§impl From<NodeFrame> for SavedFrame
impl From<NodeFrame> for SavedFrame
Source§impl PartialEq for SavedFrame
impl PartialEq for SavedFrame
Source§impl Serialize for SavedFrame
impl Serialize for SavedFrame
impl StructuralPartialEq for SavedFrame
Auto Trait Implementations§
impl Freeze for SavedFrame
impl RefUnwindSafe for SavedFrame
impl Send for SavedFrame
impl Sync for SavedFrame
impl Unpin for SavedFrame
impl UnsafeUnpin for SavedFrame
impl UnwindSafe for SavedFrame
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.