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