pub struct Media { /* private fields */ }Expand description
A stand-alone cpdb media descriptor.
Note that [crate::Printer::get_media] returns a borrowed media
pointer that must not be wrapped in this type — only construct Media
from a pointer you intend to free with cpdbDeleteMedia.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Media
impl RefUnwindSafe for Media
impl Unpin for Media
impl UnsafeUnpin for Media
impl UnwindSafe for Media
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