Struct x11rb_protocol::protocol::randr::CrtcChange
source · pub struct CrtcChange {
pub timestamp: Timestamp,
pub window: Window,
pub crtc: Crtc,
pub mode: Mode,
pub rotation: Rotation,
pub x: i16,
pub y: i16,
pub width: u16,
pub height: u16,
}
Fields§
§timestamp: Timestamp
§window: Window
§crtc: Crtc
§mode: Mode
§rotation: Rotation
§x: i16
§y: i16
§width: u16
§height: u16
Trait Implementations§
source§impl Clone for CrtcChange
impl Clone for CrtcChange
source§fn clone(&self) -> CrtcChange
fn clone(&self) -> CrtcChange
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 CrtcChange
impl Debug for CrtcChange
source§impl Default for CrtcChange
impl Default for CrtcChange
source§fn default() -> CrtcChange
fn default() -> CrtcChange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CrtcChange
impl<'de> Deserialize<'de> for CrtcChange
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<CrtcChange> for NotifyData
impl From<CrtcChange> for NotifyData
source§fn from(cc: CrtcChange) -> Self
fn from(cc: CrtcChange) -> Self
Converts to this type from the input type.
source§impl Hash for CrtcChange
impl Hash for CrtcChange
source§impl Ord for CrtcChange
impl Ord for CrtcChange
source§fn cmp(&self, other: &CrtcChange) -> Ordering
fn cmp(&self, other: &CrtcChange) -> 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 for CrtcChange
impl PartialEq for CrtcChange
source§fn eq(&self, other: &CrtcChange) -> bool
fn eq(&self, other: &CrtcChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CrtcChange
impl PartialOrd for CrtcChange
source§fn partial_cmp(&self, other: &CrtcChange) -> Option<Ordering>
fn partial_cmp(&self, other: &CrtcChange) -> 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 Serialize for CrtcChange
impl Serialize for CrtcChange
source§impl Serialize for CrtcChange
impl Serialize for CrtcChange
source§impl TryParse for CrtcChange
impl TryParse for CrtcChange
impl Copy for CrtcChange
impl Eq for CrtcChange
impl StructuralPartialEq for CrtcChange
Auto Trait Implementations§
impl Freeze for CrtcChange
impl RefUnwindSafe for CrtcChange
impl Send for CrtcChange
impl Sync for CrtcChange
impl Unpin for CrtcChange
impl UnwindSafe for CrtcChange
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
source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more