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