Struct x11rb_protocol::protocol::randr::GetProviderInfoRequest
source · pub struct GetProviderInfoRequest {
pub provider: Provider,
pub config_timestamp: Timestamp,
}
Fields§
§provider: Provider
§config_timestamp: Timestamp
Implementations§
source§impl GetProviderInfoRequest
impl GetProviderInfoRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<PiecewiseBuf<'static>>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<PiecewiseBuf<'static>>
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 GetProviderInfoRequest
impl Clone for GetProviderInfoRequest
source§fn clone(&self) -> GetProviderInfoRequest
fn clone(&self) -> GetProviderInfoRequest
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 GetProviderInfoRequest
impl Debug for GetProviderInfoRequest
source§impl Default for GetProviderInfoRequest
impl Default for GetProviderInfoRequest
source§fn default() -> GetProviderInfoRequest
fn default() -> GetProviderInfoRequest
Returns the “default value” for a type. Read more
source§impl Hash for GetProviderInfoRequest
impl Hash for GetProviderInfoRequest
source§impl Ord for GetProviderInfoRequest
impl Ord for GetProviderInfoRequest
source§fn cmp(&self, other: &GetProviderInfoRequest) -> Ordering
fn cmp(&self, other: &GetProviderInfoRequest) -> 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<GetProviderInfoRequest> for GetProviderInfoRequest
impl PartialEq<GetProviderInfoRequest> for GetProviderInfoRequest
source§fn eq(&self, other: &GetProviderInfoRequest) -> bool
fn eq(&self, other: &GetProviderInfoRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GetProviderInfoRequest> for GetProviderInfoRequest
impl PartialOrd<GetProviderInfoRequest> for GetProviderInfoRequest
source§fn partial_cmp(&self, other: &GetProviderInfoRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GetProviderInfoRequest) -> 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 GetProviderInfoRequest
impl ReplyRequest for GetProviderInfoRequest
§type Reply = GetProviderInfoReply
type Reply = GetProviderInfoReply
The kind of reply that this request generates.
source§impl Request for GetProviderInfoRequest
impl Request for GetProviderInfoRequest
impl Copy for GetProviderInfoRequest
impl Eq for GetProviderInfoRequest
impl StructuralEq for GetProviderInfoRequest
impl StructuralPartialEq for GetProviderInfoRequest
Auto Trait Implementations§
impl RefUnwindSafe for GetProviderInfoRequest
impl Send for GetProviderInfoRequest
impl Sync for GetProviderInfoRequest
impl Unpin for GetProviderInfoRequest
impl UnwindSafe for GetProviderInfoRequest
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