pub struct MediaCollection {
pub media: Vec<MediaInfo>,
}Available on crate feature
zbus-backend only.Expand description
An owned collection of all paper sizes supported by a printer.
Fields§
§media: Vec<MediaInfo>All supported media entries.
Implementations§
Trait Implementations§
Source§impl Clone for MediaCollection
impl Clone for MediaCollection
Source§fn clone(&self) -> MediaCollection
fn clone(&self) -> MediaCollection
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 MediaCollection
impl Debug for MediaCollection
Source§impl Default for MediaCollection
impl Default for MediaCollection
Source§fn default() -> MediaCollection
fn default() -> MediaCollection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MediaCollection
impl RefUnwindSafe for MediaCollection
impl Send for MediaCollection
impl Sync for MediaCollection
impl Unpin for MediaCollection
impl UnsafeUnpin for MediaCollection
impl UnwindSafe for MediaCollection
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