pub struct ScanRegion {
pub height: u32,
pub content_region_units: ContentRegionUnits,
pub width: u32,
pub x_offset: u32,
pub y_offset: u32,
}Fields§
§height: u32§content_region_units: ContentRegionUnits§width: u32§x_offset: u32§y_offset: u32Trait Implementations§
Source§impl Clone for ScanRegion
impl Clone for ScanRegion
Source§fn clone(&self) -> ScanRegion
fn clone(&self) -> ScanRegion
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 moreSource§impl Debug for ScanRegion
impl Debug for ScanRegion
Source§impl<'de> Deserialize<'de> for ScanRegion
impl<'de> Deserialize<'de> for ScanRegion
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 ScanRegion
Source§impl PartialEq for ScanRegion
impl PartialEq for ScanRegion
Source§fn eq(&self, other: &ScanRegion) -> bool
fn eq(&self, other: &ScanRegion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScanRegion
impl Serialize for ScanRegion
impl StructuralPartialEq for ScanRegion
Auto Trait Implementations§
impl Freeze for ScanRegion
impl RefUnwindSafe for ScanRegion
impl Send for ScanRegion
impl Sync for ScanRegion
impl Unpin for ScanRegion
impl UnsafeUnpin for ScanRegion
impl UnwindSafe for ScanRegion
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.