Struct x11rb::protocol::xselinux::SetSelectionCreateContextRequest
source · Fields
context: Cow<'input, [u8]>
Implementations
sourceimpl<'input> SetSelectionCreateContextRequest<'input>
impl<'input> SetSelectionCreateContextRequest<'input>
sourcepub fn serialize(
self,
major_opcode: u8
) -> (Vec<Cow<'input, [u8]>, Global>, Vec<RawFdContainer, Global>)
pub fn serialize(
self,
major_opcode: u8
) -> (Vec<Cow<'input, [u8]>, Global>, Vec<RawFdContainer, Global>)
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<SetSelectionCreateContextRequest<'input>, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<SetSelectionCreateContextRequest<'input>, ParseError>
Parse this request given its header, its body, and any fds that go along with it
sourcepub fn into_owned(self) -> SetSelectionCreateContextRequest<'static>
pub fn into_owned(self) -> SetSelectionCreateContextRequest<'static>
Clone all borrowed data in this SetSelectionCreateContextRequest.
Trait Implementations
sourceimpl<'input> Clone for SetSelectionCreateContextRequest<'input>
impl<'input> Clone for SetSelectionCreateContextRequest<'input>
sourcefn clone(&self) -> SetSelectionCreateContextRequest<'input>
fn clone(&self) -> SetSelectionCreateContextRequest<'input>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'input> Debug for SetSelectionCreateContextRequest<'input>
impl<'input> Debug for SetSelectionCreateContextRequest<'input>
sourceimpl<'input> Default for SetSelectionCreateContextRequest<'input>
impl<'input> Default for SetSelectionCreateContextRequest<'input>
sourcefn default() -> SetSelectionCreateContextRequest<'input>
fn default() -> SetSelectionCreateContextRequest<'input>
Returns the “default value” for a type. Read more
sourceimpl<'input> Hash for SetSelectionCreateContextRequest<'input>
impl<'input> Hash for SetSelectionCreateContextRequest<'input>
sourceimpl<'input> Ord for SetSelectionCreateContextRequest<'input>
impl<'input> Ord for SetSelectionCreateContextRequest<'input>
sourcefn cmp(&self, other: &SetSelectionCreateContextRequest<'input>) -> Ordering
fn cmp(&self, other: &SetSelectionCreateContextRequest<'input>) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<'input> PartialEq<SetSelectionCreateContextRequest<'input>> for SetSelectionCreateContextRequest<'input>
impl<'input> PartialEq<SetSelectionCreateContextRequest<'input>> for SetSelectionCreateContextRequest<'input>
sourcefn eq(&self, other: &SetSelectionCreateContextRequest<'input>) -> bool
fn eq(&self, other: &SetSelectionCreateContextRequest<'input>) -> bool
sourceimpl<'input> PartialOrd<SetSelectionCreateContextRequest<'input>> for SetSelectionCreateContextRequest<'input>
impl<'input> PartialOrd<SetSelectionCreateContextRequest<'input>> for SetSelectionCreateContextRequest<'input>
sourcefn partial_cmp(
&self,
other: &SetSelectionCreateContextRequest<'input>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &SetSelectionCreateContextRequest<'input>
) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl<'input> Request for SetSelectionCreateContextRequest<'input>
impl<'input> Request for SetSelectionCreateContextRequest<'input>
sourceconst EXTENSION_NAME: Option<&'static str> = Some(X11_EXTENSION_NAME)
const EXTENSION_NAME: Option<&'static str> = Some(X11_EXTENSION_NAME)
The protocol name of the extension that this request belongs to, or None for core requests
impl<'input> Eq for SetSelectionCreateContextRequest<'input>
impl<'input> StructuralEq for SetSelectionCreateContextRequest<'input>
impl<'input> StructuralPartialEq for SetSelectionCreateContextRequest<'input>
impl<'input> VoidRequest for SetSelectionCreateContextRequest<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for SetSelectionCreateContextRequest<'input>
impl<'input> Send for SetSelectionCreateContextRequest<'input>
impl<'input> Sync for SetSelectionCreateContextRequest<'input>
impl<'input> Unpin for SetSelectionCreateContextRequest<'input>
impl<'input> UnwindSafe for SetSelectionCreateContextRequest<'input>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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