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 more