Struct x11rb_protocol::protocol::xinerama::GetScreenCountRequest
source · pub struct GetScreenCountRequest {
pub window: Window,
}
Fields§
§window: Window
Implementations§
source§impl GetScreenCountRequest
impl GetScreenCountRequest
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 GetScreenCountRequest
impl Clone for GetScreenCountRequest
source§fn clone(&self) -> GetScreenCountRequest
fn clone(&self) -> GetScreenCountRequest
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 GetScreenCountRequest
impl Debug for GetScreenCountRequest
source§impl Default for GetScreenCountRequest
impl Default for GetScreenCountRequest
source§fn default() -> GetScreenCountRequest
fn default() -> GetScreenCountRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetScreenCountRequest
impl<'de> Deserialize<'de> for GetScreenCountRequest
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 GetScreenCountRequest
impl Hash for GetScreenCountRequest
source§impl Ord for GetScreenCountRequest
impl Ord for GetScreenCountRequest
source§fn cmp(&self, other: &GetScreenCountRequest) -> Ordering
fn cmp(&self, other: &GetScreenCountRequest) -> 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 GetScreenCountRequest
impl PartialEq for GetScreenCountRequest
source§fn eq(&self, other: &GetScreenCountRequest) -> bool
fn eq(&self, other: &GetScreenCountRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetScreenCountRequest
impl PartialOrd for GetScreenCountRequest
source§fn partial_cmp(&self, other: &GetScreenCountRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GetScreenCountRequest) -> 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 GetScreenCountRequest
impl ReplyRequest for GetScreenCountRequest
§type Reply = GetScreenCountReply
type Reply = GetScreenCountReply
The kind of reply that this request generates.
source§impl Request for GetScreenCountRequest
impl Request for GetScreenCountRequest
source§impl Serialize for GetScreenCountRequest
impl Serialize for GetScreenCountRequest
impl Copy for GetScreenCountRequest
impl Eq for GetScreenCountRequest
impl StructuralPartialEq for GetScreenCountRequest
Auto Trait Implementations§
impl Freeze for GetScreenCountRequest
impl RefUnwindSafe for GetScreenCountRequest
impl Send for GetScreenCountRequest
impl Sync for GetScreenCountRequest
impl Unpin for GetScreenCountRequest
impl UnwindSafe for GetScreenCountRequest
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