Struct x11rb_protocol::protocol::xkb::SetIndicatorMapRequest
source · pub struct SetIndicatorMapRequest<'input> {
pub device_spec: DeviceSpec,
pub which: u32,
pub maps: Cow<'input, [IndicatorMap]>,
}
Fields§
§device_spec: DeviceSpec
§which: u32
§maps: Cow<'input, [IndicatorMap]>
Implementations§
source§impl<'input> SetIndicatorMapRequest<'input>
impl<'input> SetIndicatorMapRequest<'input>
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> SetIndicatorMapRequest<'static>
pub fn into_owned(self) -> SetIndicatorMapRequest<'static>
Clone all borrowed data in this SetIndicatorMapRequest.
Trait Implementations§
source§impl<'input> Clone for SetIndicatorMapRequest<'input>
impl<'input> Clone for SetIndicatorMapRequest<'input>
source§fn clone(&self) -> SetIndicatorMapRequest<'input>
fn clone(&self) -> SetIndicatorMapRequest<'input>
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 Debug for SetIndicatorMapRequest<'_>
impl Debug for SetIndicatorMapRequest<'_>
source§impl<'input> Default for SetIndicatorMapRequest<'input>
impl<'input> Default for SetIndicatorMapRequest<'input>
source§fn default() -> SetIndicatorMapRequest<'input>
fn default() -> SetIndicatorMapRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for SetIndicatorMapRequest<'input>
impl<'input> Request for SetIndicatorMapRequest<'input>
impl<'input> VoidRequest for SetIndicatorMapRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for SetIndicatorMapRequest<'input>
impl<'input> Send for SetIndicatorMapRequest<'input>
impl<'input> Sync for SetIndicatorMapRequest<'input>
impl<'input> Unpin for SetIndicatorMapRequest<'input>
impl<'input> UnwindSafe for SetIndicatorMapRequest<'input>
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