Struct x11rb_protocol::protocol::randr::GetCrtcTransformReply
source · pub struct GetCrtcTransformReply {
pub sequence: u16,
pub length: u32,
pub pending_transform: Transform,
pub has_transforms: bool,
pub current_transform: Transform,
pub pending_filter_name: Vec<u8>,
pub pending_params: Vec<Fixed>,
pub current_filter_name: Vec<u8>,
pub current_params: Vec<Fixed>,
}
Fields§
§sequence: u16
§length: u32
§pending_transform: Transform
§has_transforms: bool
§current_transform: Transform
§pending_filter_name: Vec<u8>
§pending_params: Vec<Fixed>
§current_filter_name: Vec<u8>
§current_params: Vec<Fixed>
Implementations§
source§impl GetCrtcTransformReply
impl GetCrtcTransformReply
sourcepub fn pending_len(&self) -> u16
pub fn pending_len(&self) -> u16
Get the value of the pending_len
field.
The pending_len
field is used as the length field of the pending_filter_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.
sourcepub fn pending_nparams(&self) -> u16
pub fn pending_nparams(&self) -> u16
Get the value of the pending_nparams
field.
The pending_nparams
field is used as the length field of the pending_params
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.
sourcepub fn current_len(&self) -> u16
pub fn current_len(&self) -> u16
Get the value of the current_len
field.
The current_len
field is used as the length field of the current_filter_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.
sourcepub fn current_nparams(&self) -> u16
pub fn current_nparams(&self) -> u16
Get the value of the current_nparams
field.
The current_nparams
field is used as the length field of the current_params
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 GetCrtcTransformReply
impl Clone for GetCrtcTransformReply
source§fn clone(&self) -> GetCrtcTransformReply
fn clone(&self) -> GetCrtcTransformReply
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetCrtcTransformReply
impl Debug for GetCrtcTransformReply
source§impl Default for GetCrtcTransformReply
impl Default for GetCrtcTransformReply
source§fn default() -> GetCrtcTransformReply
fn default() -> GetCrtcTransformReply
source§impl<'de> Deserialize<'de> for GetCrtcTransformReply
impl<'de> Deserialize<'de> for GetCrtcTransformReply
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>,
source§impl From<GetCrtcTransformReply> for Reply
impl From<GetCrtcTransformReply> for Reply
source§fn from(reply: GetCrtcTransformReply) -> Reply
fn from(reply: GetCrtcTransformReply) -> Reply
source§impl Hash for GetCrtcTransformReply
impl Hash for GetCrtcTransformReply
source§impl Ord for GetCrtcTransformReply
impl Ord for GetCrtcTransformReply
source§fn cmp(&self, other: &GetCrtcTransformReply) -> Ordering
fn cmp(&self, other: &GetCrtcTransformReply) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for GetCrtcTransformReply
impl PartialEq for GetCrtcTransformReply
source§fn eq(&self, other: &GetCrtcTransformReply) -> bool
fn eq(&self, other: &GetCrtcTransformReply) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetCrtcTransformReply
impl PartialOrd for GetCrtcTransformReply
source§fn partial_cmp(&self, other: &GetCrtcTransformReply) -> Option<Ordering>
fn partial_cmp(&self, other: &GetCrtcTransformReply) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more