Struct xcb::xprint::PrintGetPrinterListReply
source · [−]pub struct PrintGetPrinterListReply { /* private fields */ }
Expand description
Reply type for PrintGetPrinterList.
Can be obtained from a PrintGetPrinterListCookie with Connection::wait_for_reply or from a PrintGetPrinterListCookieUnchecked with Connection::wait_for_reply_unchecked
Implementations
sourceimpl PrintGetPrinterListReply
impl PrintGetPrinterListReply
pub fn response_type(&self) -> u8
pub fn sequence(&self) -> u16
pub fn length(&self) -> u32
pub fn printers(&self) -> PrinterIterator<'_>ⓘNotable traits for PrinterIterator<'a>impl<'a> Iterator for PrinterIterator<'a> type Item = &'a Printer;
Trait Implementations
sourceimpl Debug for PrintGetPrinterListReply
impl Debug for PrintGetPrinterListReply
sourceimpl Drop for PrintGetPrinterListReply
impl Drop for PrintGetPrinterListReply
sourceimpl Reply for PrintGetPrinterListReply
impl Reply for PrintGetPrinterListReply
impl Send for PrintGetPrinterListReply
impl Sync for PrintGetPrinterListReply
Auto Trait Implementations
impl RefUnwindSafe for PrintGetPrinterListReply
impl Unpin for PrintGetPrinterListReply
impl UnwindSafe for PrintGetPrinterListReply
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more