Struct x11rb_protocol::protocol::randr::ProviderChange
source · pub struct ProviderChange {
pub timestamp: Timestamp,
pub window: Window,
pub provider: Provider,
}
Fields§
§timestamp: Timestamp
§window: Window
§provider: Provider
Trait Implementations§
source§impl Clone for ProviderChange
impl Clone for ProviderChange
source§fn clone(&self) -> ProviderChange
fn clone(&self) -> ProviderChange
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 ProviderChange
impl Debug for ProviderChange
source§impl Default for ProviderChange
impl Default for ProviderChange
source§fn default() -> ProviderChange
fn default() -> ProviderChange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProviderChange
impl<'de> Deserialize<'de> for ProviderChange
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<ProviderChange> for NotifyData
impl From<ProviderChange> for NotifyData
source§fn from(pc: ProviderChange) -> Self
fn from(pc: ProviderChange) -> Self
Converts to this type from the input type.
source§impl Hash for ProviderChange
impl Hash for ProviderChange
source§impl Ord for ProviderChange
impl Ord for ProviderChange
source§fn cmp(&self, other: &ProviderChange) -> Ordering
fn cmp(&self, other: &ProviderChange) -> 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 ProviderChange
impl PartialEq for ProviderChange
source§fn eq(&self, other: &ProviderChange) -> bool
fn eq(&self, other: &ProviderChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProviderChange
impl PartialOrd for ProviderChange
source§fn partial_cmp(&self, other: &ProviderChange) -> Option<Ordering>
fn partial_cmp(&self, other: &ProviderChange) -> 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 ProviderChange
impl Serialize for ProviderChange
source§impl Serialize for ProviderChange
impl Serialize for ProviderChange
source§impl TryParse for ProviderChange
impl TryParse for ProviderChange
impl Copy for ProviderChange
impl Eq for ProviderChange
impl StructuralPartialEq for ProviderChange
Auto Trait Implementations§
impl Freeze for ProviderChange
impl RefUnwindSafe for ProviderChange
impl Send for ProviderChange
impl Sync for ProviderChange
impl Unpin for ProviderChange
impl UnwindSafe for ProviderChange
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