Struct x11rb_protocol::protocol::xproto::SetupRequest
source · pub struct SetupRequest {
pub byte_order: u8,
pub protocol_major_version: u16,
pub protocol_minor_version: u16,
pub authorization_protocol_name: Vec<u8>,
pub authorization_protocol_data: Vec<u8>,
}
Fields§
§byte_order: u8
§protocol_major_version: u16
§protocol_minor_version: u16
Implementations§
source§impl SetupRequest
impl SetupRequest
Get the value of the authorization_protocol_name_len
field.
The authorization_protocol_name_len
field is used as the length field of the authorization_protocol_name
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Get the value of the authorization_protocol_data_len
field.
The authorization_protocol_data_len
field is used as the length field of the authorization_protocol_data
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations§
source§impl Clone for SetupRequest
impl Clone for SetupRequest
source§fn clone(&self) -> SetupRequest
fn clone(&self) -> SetupRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more