Struct GetCrtcTransformReply
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<i32>,
pub current_filter_name: Vec<u8>,
pub current_params: Vec<i32>,
}
Fields§
§sequence: u16
§length: u32
§pending_transform: Transform
§has_transforms: bool
§current_transform: Transform
§pending_filter_name: Vec<u8>
§pending_params: Vec<i32>
§current_filter_name: Vec<u8>
§current_params: Vec<i32>
Implementations§
§impl GetCrtcTransformReply
impl GetCrtcTransformReply
pub 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.
pub 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.
pub 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.
pub 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§
§impl Clone for GetCrtcTransformReply
impl Clone for GetCrtcTransformReply
§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§impl Debug for GetCrtcTransformReply
impl Debug for GetCrtcTransformReply
§impl Default for GetCrtcTransformReply
impl Default for GetCrtcTransformReply
§fn default() -> GetCrtcTransformReply
fn default() -> GetCrtcTransformReply
§impl From<GetCrtcTransformReply> for Reply
impl From<GetCrtcTransformReply> for Reply
§fn from(reply: GetCrtcTransformReply) -> Reply
fn from(reply: GetCrtcTransformReply) -> Reply
§impl Serialize for GetCrtcTransformReply
impl Serialize for GetCrtcTransformReply
§impl TryParse for GetCrtcTransformReply
impl TryParse for GetCrtcTransformReply
§fn try_parse(
initial_value: &[u8],
) -> Result<(GetCrtcTransformReply, &[u8]), ParseError>
fn try_parse( initial_value: &[u8], ) -> Result<(GetCrtcTransformReply, &[u8]), ParseError>
Auto Trait Implementations§
impl Freeze for GetCrtcTransformReply
impl RefUnwindSafe for GetCrtcTransformReply
impl Send for GetCrtcTransformReply
impl Sync for GetCrtcTransformReply
impl Unpin for GetCrtcTransformReply
impl UnwindSafe for GetCrtcTransformReply
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)