Struct xcb::xprint::CreateContext
source · pub struct CreateContext<'a> {
pub context_id: u32,
pub printer_name: &'a [String8],
pub locale: &'a [String8],
}
Expand description
The CreateContext
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§context_id: u32
§printer_name: &'a [String8]
§locale: &'a [String8]
Trait Implementations§
source§impl<'a> Clone for CreateContext<'a>
impl<'a> Clone for CreateContext<'a>
source§fn clone(&self) -> CreateContext<'a>
fn clone(&self) -> CreateContext<'a>
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<'a> Debug for CreateContext<'a>
impl<'a> Debug for CreateContext<'a>
source§impl<'a> RawRequest for CreateContext<'a>
impl<'a> RawRequest for CreateContext<'a>
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl<'a> Request for CreateContext<'a>
impl<'a> Request for CreateContext<'a>
impl<'a> RequestWithoutReply for CreateContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateContext<'a>
impl<'a> RefUnwindSafe for CreateContext<'a>
impl<'a> Send for CreateContext<'a>
impl<'a> Sync for CreateContext<'a>
impl<'a> Unpin for CreateContext<'a>
impl<'a> UnwindSafe for CreateContext<'a>
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)