pub struct RegionRect {
pub x: u16,
pub y: u16,
pub width: u16,
pub height: u16,
}Fields§
§x: u16§y: u16§width: u16§height: u16Implementations§
Trait Implementations§
Source§impl Clone for RegionRect
impl Clone for RegionRect
Source§fn clone(&self) -> RegionRect
fn clone(&self) -> RegionRect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegionRect
Source§impl Debug for RegionRect
impl Debug for RegionRect
Source§impl<'de> Deserialize<'de> for RegionRect
impl<'de> Deserialize<'de> for RegionRect
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 RegionRect
Source§impl PartialEq for RegionRect
impl PartialEq for RegionRect
Source§fn eq(&self, other: &RegionRect) -> bool
fn eq(&self, other: &RegionRect) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegionRect
impl Serialize for RegionRect
impl StructuralPartialEq for RegionRect
Auto Trait Implementations§
impl Freeze for RegionRect
impl RefUnwindSafe for RegionRect
impl Send for RegionRect
impl Sync for RegionRect
impl Unpin for RegionRect
impl UnsafeUnpin for RegionRect
impl UnwindSafe for RegionRect
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.