pub struct ChangeKeyboardControlRequest<'input> {
pub value_list: Cow<'input, ChangeKeyboardControlAux>,
}
Fields
value_list: Cow<'input, ChangeKeyboardControlAux>
Implementations
sourceimpl<'input> ChangeKeyboardControlRequest<'input>
impl<'input> ChangeKeyboardControlRequest<'input>
sourcepub fn serialize(self) -> BufWithFds<PiecewiseBuf<'input>>
pub fn serialize(self) -> BufWithFds<PiecewiseBuf<'input>>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
sourcepub fn into_owned(self) -> ChangeKeyboardControlRequest<'static>
pub fn into_owned(self) -> ChangeKeyboardControlRequest<'static>
Clone all borrowed data in this ChangeKeyboardControlRequest.
Trait Implementations
sourceimpl<'input> Clone for ChangeKeyboardControlRequest<'input>
impl<'input> Clone for ChangeKeyboardControlRequest<'input>
sourcefn clone(&self) -> ChangeKeyboardControlRequest<'input>
fn clone(&self) -> ChangeKeyboardControlRequest<'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 more
sourceimpl<'input> Debug for ChangeKeyboardControlRequest<'input>
impl<'input> Debug for ChangeKeyboardControlRequest<'input>
sourceimpl<'input> Default for ChangeKeyboardControlRequest<'input>
impl<'input> Default for ChangeKeyboardControlRequest<'input>
sourcefn default() -> ChangeKeyboardControlRequest<'input>
fn default() -> ChangeKeyboardControlRequest<'input>
Returns the “default value” for a type. Read more
sourceimpl<'input> Hash for ChangeKeyboardControlRequest<'input>
impl<'input> Hash for ChangeKeyboardControlRequest<'input>
sourceimpl<'input> Ord for ChangeKeyboardControlRequest<'input>
impl<'input> Ord for ChangeKeyboardControlRequest<'input>
sourceimpl<'input> PartialEq<ChangeKeyboardControlRequest<'input>> for ChangeKeyboardControlRequest<'input>
impl<'input> PartialEq<ChangeKeyboardControlRequest<'input>> for ChangeKeyboardControlRequest<'input>
sourcefn eq(&self, other: &ChangeKeyboardControlRequest<'input>) -> bool
fn eq(&self, other: &ChangeKeyboardControlRequest<'input>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChangeKeyboardControlRequest<'input>) -> bool
fn ne(&self, other: &ChangeKeyboardControlRequest<'input>) -> bool
This method tests for !=
.
sourceimpl<'input> PartialOrd<ChangeKeyboardControlRequest<'input>> for ChangeKeyboardControlRequest<'input>
impl<'input> PartialOrd<ChangeKeyboardControlRequest<'input>> for ChangeKeyboardControlRequest<'input>
sourcefn partial_cmp(
&self,
other: &ChangeKeyboardControlRequest<'input>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &ChangeKeyboardControlRequest<'input>
) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
sourceimpl<'input> Request for ChangeKeyboardControlRequest<'input>
impl<'input> Request for ChangeKeyboardControlRequest<'input>
impl<'input> Eq for ChangeKeyboardControlRequest<'input>
impl<'input> StructuralEq for ChangeKeyboardControlRequest<'input>
impl<'input> StructuralPartialEq for ChangeKeyboardControlRequest<'input>
impl<'input> VoidRequest for ChangeKeyboardControlRequest<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for ChangeKeyboardControlRequest<'input>
impl<'input> Send for ChangeKeyboardControlRequest<'input>
impl<'input> Sync for ChangeKeyboardControlRequest<'input>
impl<'input> Unpin for ChangeKeyboardControlRequest<'input>
impl<'input> UnwindSafe for ChangeKeyboardControlRequest<'input>
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