Struct x11rb_protocol::protocol::xkb::GetIndicatorStateRequest
source · pub struct GetIndicatorStateRequest {
pub device_spec: DeviceSpec,
}
Fields§
§device_spec: DeviceSpec
Implementations§
source§impl GetIndicatorStateRequest
impl GetIndicatorStateRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
source§impl Clone for GetIndicatorStateRequest
impl Clone for GetIndicatorStateRequest
source§fn clone(&self) -> GetIndicatorStateRequest
fn clone(&self) -> GetIndicatorStateRequest
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 GetIndicatorStateRequest
impl Debug for GetIndicatorStateRequest
source§impl Default for GetIndicatorStateRequest
impl Default for GetIndicatorStateRequest
source§fn default() -> GetIndicatorStateRequest
fn default() -> GetIndicatorStateRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetIndicatorStateRequest
impl<'de> Deserialize<'de> for GetIndicatorStateRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for GetIndicatorStateRequest
impl Hash for GetIndicatorStateRequest
source§impl Ord for GetIndicatorStateRequest
impl Ord for GetIndicatorStateRequest
source§fn cmp(&self, other: &GetIndicatorStateRequest) -> Ordering
fn cmp(&self, other: &GetIndicatorStateRequest) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq for GetIndicatorStateRequest
impl PartialEq for GetIndicatorStateRequest
source§fn eq(&self, other: &GetIndicatorStateRequest) -> bool
fn eq(&self, other: &GetIndicatorStateRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetIndicatorStateRequest
impl PartialOrd for GetIndicatorStateRequest
source§fn partial_cmp(&self, other: &GetIndicatorStateRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GetIndicatorStateRequest) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl ReplyRequest for GetIndicatorStateRequest
impl ReplyRequest for GetIndicatorStateRequest
§type Reply = GetIndicatorStateReply
type Reply = GetIndicatorStateReply
The kind of reply that this request generates.
source§impl Request for GetIndicatorStateRequest
impl Request for GetIndicatorStateRequest
source§impl Serialize for GetIndicatorStateRequest
impl Serialize for GetIndicatorStateRequest
impl Copy for GetIndicatorStateRequest
impl Eq for GetIndicatorStateRequest
impl StructuralPartialEq for GetIndicatorStateRequest
Auto Trait Implementations§
impl Freeze for GetIndicatorStateRequest
impl RefUnwindSafe for GetIndicatorStateRequest
impl Send for GetIndicatorStateRequest
impl Sync for GetIndicatorStateRequest
impl Unpin for GetIndicatorStateRequest
impl UnwindSafe for GetIndicatorStateRequest
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