pub struct PrintGetImageResolutionReply {
pub sequence: u16,
pub length: u32,
pub image_resolution: u16,
}Fields§
§sequence: u16§length: u32§image_resolution: u16Trait Implementations§
Source§impl Clone for PrintGetImageResolutionReply
impl Clone for PrintGetImageResolutionReply
Source§fn clone(&self) -> PrintGetImageResolutionReply
fn clone(&self) -> PrintGetImageResolutionReply
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 PrintGetImageResolutionReply
Source§impl Debug for PrintGetImageResolutionReply
impl Debug for PrintGetImageResolutionReply
Source§impl Default for PrintGetImageResolutionReply
impl Default for PrintGetImageResolutionReply
Source§fn default() -> PrintGetImageResolutionReply
fn default() -> PrintGetImageResolutionReply
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrintGetImageResolutionReply
impl<'de> Deserialize<'de> for PrintGetImageResolutionReply
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 PrintGetImageResolutionReply
Source§impl From<PrintGetImageResolutionReply> for Reply
Available on crate feature xprint only.
impl From<PrintGetImageResolutionReply> for Reply
Available on crate feature
xprint only.Source§fn from(reply: PrintGetImageResolutionReply) -> Reply
fn from(reply: PrintGetImageResolutionReply) -> Reply
Converts to this type from the input type.
Source§impl Hash for PrintGetImageResolutionReply
impl Hash for PrintGetImageResolutionReply
Source§impl Ord for PrintGetImageResolutionReply
impl Ord for PrintGetImageResolutionReply
Source§fn cmp(&self, other: &PrintGetImageResolutionReply) -> Ordering
fn cmp(&self, other: &PrintGetImageResolutionReply) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for PrintGetImageResolutionReply
impl PartialOrd for PrintGetImageResolutionReply
impl StructuralPartialEq for PrintGetImageResolutionReply
Auto Trait Implementations§
impl Freeze for PrintGetImageResolutionReply
impl RefUnwindSafe for PrintGetImageResolutionReply
impl Send for PrintGetImageResolutionReply
impl Sync for PrintGetImageResolutionReply
impl Unpin for PrintGetImageResolutionReply
impl UnsafeUnpin for PrintGetImageResolutionReply
impl UnwindSafe for PrintGetImageResolutionReply
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<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
Source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more