pub struct PrintGetPageDimensionsReply {
pub sequence: u16,
pub length: u32,
pub width: u16,
pub height: u16,
pub offset_x: u16,
pub offset_y: u16,
pub reproducible_width: u16,
pub reproducible_height: u16,
}
Fields§
§sequence: u16
§length: u32
§width: u16
§height: u16
§offset_x: u16
§offset_y: u16
§reproducible_width: u16
§reproducible_height: u16
Trait Implementations§
source§impl Clone for PrintGetPageDimensionsReply
impl Clone for PrintGetPageDimensionsReply
source§fn clone(&self) -> PrintGetPageDimensionsReply
fn clone(&self) -> PrintGetPageDimensionsReply
Returns a copy of the value. Read more
1.0.0 · 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 PrintGetPageDimensionsReply
impl Debug for PrintGetPageDimensionsReply
source§impl Default for PrintGetPageDimensionsReply
impl Default for PrintGetPageDimensionsReply
source§fn default() -> PrintGetPageDimensionsReply
fn default() -> PrintGetPageDimensionsReply
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PrintGetPageDimensionsReply
impl<'de> Deserialize<'de> for PrintGetPageDimensionsReply
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
source§impl From<PrintGetPageDimensionsReply> for Reply
impl From<PrintGetPageDimensionsReply> for Reply
source§fn from(reply: PrintGetPageDimensionsReply) -> Reply
fn from(reply: PrintGetPageDimensionsReply) -> Reply
Converts to this type from the input type.
source§impl Hash for PrintGetPageDimensionsReply
impl Hash for PrintGetPageDimensionsReply
source§impl Ord for PrintGetPageDimensionsReply
impl Ord for PrintGetPageDimensionsReply
source§fn cmp(&self, other: &PrintGetPageDimensionsReply) -> Ordering
fn cmp(&self, other: &PrintGetPageDimensionsReply) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PrintGetPageDimensionsReply
impl PartialEq for PrintGetPageDimensionsReply
source§fn eq(&self, other: &PrintGetPageDimensionsReply) -> bool
fn eq(&self, other: &PrintGetPageDimensionsReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PrintGetPageDimensionsReply
impl PartialOrd for PrintGetPageDimensionsReply
source§fn partial_cmp(&self, other: &PrintGetPageDimensionsReply) -> Option<Ordering>
fn partial_cmp(&self, other: &PrintGetPageDimensionsReply) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PrintGetPageDimensionsReply
impl Eq for PrintGetPageDimensionsReply
impl StructuralPartialEq for PrintGetPageDimensionsReply
Auto Trait Implementations§
impl Freeze for PrintGetPageDimensionsReply
impl RefUnwindSafe for PrintGetPageDimensionsReply
impl Send for PrintGetPageDimensionsReply
impl Sync for PrintGetPageDimensionsReply
impl Unpin for PrintGetPageDimensionsReply
impl UnwindSafe for PrintGetPageDimensionsReply
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more