pub struct PlatenInputCaps {
pub min_width: u16,
pub max_width: i16,
pub min_height: i16,
pub max_height: i16,
pub max_scan_regions: u16,
pub max_optical_xresolution: u16,
pub max_optical_yresolution: u16,
pub risky_left_margin: u16,
pub risky_right_margin: u16,
pub risky_top_margin: u16,
pub risky_bottom_margin: u16,
}Fields§
§min_width: u16§max_width: i16§min_height: i16§max_height: i16§max_scan_regions: u16§max_optical_xresolution: u16§max_optical_yresolution: u16§risky_left_margin: u16§risky_right_margin: u16§risky_top_margin: u16§risky_bottom_margin: u16Trait Implementations§
Source§impl Debug for PlatenInputCaps
impl Debug for PlatenInputCaps
Source§impl Default for PlatenInputCaps
impl Default for PlatenInputCaps
Source§fn default() -> PlatenInputCaps
fn default() -> PlatenInputCaps
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatenInputCaps
impl<'de> Deserialize<'de> for PlatenInputCaps
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
Auto Trait Implementations§
impl Freeze for PlatenInputCaps
impl RefUnwindSafe for PlatenInputCaps
impl Send for PlatenInputCaps
impl Sync for PlatenInputCaps
impl Unpin for PlatenInputCaps
impl UnwindSafe for PlatenInputCaps
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more